Fixing Return in non-crlf mode.

master
Christoph Lohmann 12 years ago
parent 4389f2eb1b
commit e7bb14e03e

@ -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},

Loading…
Cancel
Save