Fixing Return in non-crlf mode.

dev
Christoph Lohmann 2012-11-15 15:54:34 +01:00
parent 4389f2eb1b
commit e7bb14e03e
1 changed files with 2 additions and 2 deletions

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