The crlf mode was reversed.

master
Christoph Lohmann 12 years ago
parent e7bb14e03e
commit e87d21bb3d
  1. 8
      config.def.h

@ -109,8 +109,8 @@ static Key key[] = {
{ XK_KP_Multiply, XK_ANY_MOD, "\033Oj", +1, 0, 0}, { XK_KP_Multiply, XK_ANY_MOD, "\033Oj", +1, 0, 0},
{ XK_KP_Add, XK_ANY_MOD, "\033Ok", +1, 0, 0}, { XK_KP_Add, XK_ANY_MOD, "\033Ok", +1, 0, 0},
{ XK_KP_Enter, XK_ANY_MOD, "\033OM", +1, 0, 0}, { XK_KP_Enter, XK_ANY_MOD, "\033OM", +1, 0, 0},
{ XK_KP_Enter, XK_ANY_MOD, "\n", -1, 0, +1}, { XK_KP_Enter, XK_ANY_MOD, "\n", -1, 0, -1},
{ XK_KP_Enter, XK_ANY_MOD, "\r\n", -1, 0, -1}, { XK_KP_Enter, XK_ANY_MOD, "\r\n", -1, 0, +1},
{ XK_KP_Subtract, XK_ANY_MOD, "\033Om", +1, 0, 0}, { XK_KP_Subtract, XK_ANY_MOD, "\033Om", +1, 0, 0},
{ XK_KP_Decimal, XK_ANY_MOD, "\033On", +1, 0, 0}, { XK_KP_Decimal, XK_ANY_MOD, "\033On", +1, 0, 0},
{ XK_KP_Divide, XK_ANY_MOD, "\033Oo", +1, 0, 0}, { XK_KP_Divide, XK_ANY_MOD, "\033Oo", +1, 0, 0},
@ -146,8 +146,8 @@ static Key key[] = {
{ XK_Right, XK_ANY_MOD, "\033[C", 0, -1, 0}, { XK_Right, XK_ANY_MOD, "\033[C", 0, -1, 0},
{ XK_Right, XK_ANY_MOD, "\033OC", 0, +1, 0}, { XK_Right, XK_ANY_MOD, "\033OC", 0, +1, 0},
{ 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},

Loading…
Cancel
Save