1
0
mirror of https://github.com/alrayyes/st synced 2023-11-14 15:56:30 +00:00

Fixing Return in non-crlf mode.

This commit is contained in:
Christoph Lohmann 2012-11-15 15:54:34 +01:00
parent 4389f2eb1b
commit e7bb14e03e

View File

@ -148,8 +148,8 @@ static Key key[] = {
{ XK_ISO_Left_Tab, ShiftMask, "\033[Z", 0, 0, 0}, { XK_ISO_Left_Tab, ShiftMask, "\033[Z", 0, 0, 0},
{ XK_Return, Mod1Mask, "\033\n", 0, 0, +1}, { XK_Return, Mod1Mask, "\033\n", 0, 0, +1},
{ XK_Return, Mod1Mask, "\033\r\n", 0, 0, -1}, { XK_Return, Mod1Mask, "\033\r\n", 0, 0, -1},
{ XK_Return, XK_ANY_MOD, "\n", 0, 0, +1}, { XK_Return, XK_ANY_MOD, "\n", 0, 0, -1},
{ XK_Return, XK_ANY_MOD, "\r\n", 0, 0, -1}, { XK_Return, XK_ANY_MOD, "\r\n", 0, 0, +1},
{ XK_Insert, ShiftMask, "\033[2;2~", 0, 0, 0}, { XK_Insert, ShiftMask, "\033[2;2~", 0, 0, 0},
{ XK_Insert, XK_ANY_MOD, "\033[2~", 0, 0, 0}, { XK_Insert, XK_ANY_MOD, "\033[2~", 0, 0, 0},
{ XK_Delete, ShiftMask, "\033[3;2~", 0, 0, 0}, { XK_Delete, ShiftMask, "\033[3;2~", 0, 0, 0},