st

fork of suckless's simple terminal
Index Commits Files Refs README LICENSE
commit e7bb14e03e383daf2505ca304adca78b57884513
parent 4389f2eb1b27f7a210e1f631e703c48a8ca8d50b
Author: Christoph Lohmann <20h@r-36.net>
Date:   Thu, 15 Nov 2012 15:54:34 +0100

Fixing Return in non-crlf mode.

Diffstat:
Mconfig.def.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/config.def.h b/config.def.h
@@ -148,8 +148,8 @@ static Key key[] = {
     { XK_ISO_Left_Tab,  ShiftMask,      "\033[Z",        0,    0,    0},
     { XK_Return,        Mod1Mask,       "\033\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,     "\r\n",          0,    0,   -1},
+    { XK_Return,        XK_ANY_MOD,     "\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,        XK_ANY_MOD,     "\033[2~",       0,    0,    0},
     { XK_Delete,        ShiftMask,      "\033[3;2~",     0,    0,    0},