From: Christoph Lohmann <20h@r-36.net> Date: Thu, 15 Nov 2012 14:54:34 +0000 (+0100) Subject: Fixing Return in non-crlf mode. X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=e7bb14e03e383daf2505ca304adca78b57884513;p=st.git Fixing Return in non-crlf mode. --- diff --git a/config.def.h b/config.def.h index bd5a888..ea29ab5 100644 --- 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},