st

Simple Terminal
git clone git://r-36.net/st
Log | Files | Refs | README | LICENSE

commit e87d21bb3d6b48f68340c193dff8b6021f00be10
parent e7bb14e03e383daf2505ca304adca78b57884513
Author: Christoph Lohmann <20h@r-36.net>
Date:   Thu, 15 Nov 2012 15:57:01 +0100

The crlf mode was reversed.

Diffstat:
config.def.h | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -109,8 +109,8 @@ static Key key[] = { { XK_KP_Multiply, XK_ANY_MOD, "\033Oj", +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, "\n", -1, 0, +1}, - { XK_KP_Enter, XK_ANY_MOD, "\r\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_Subtract, XK_ANY_MOD, "\033Om", +1, 0, 0}, { XK_KP_Decimal, XK_ANY_MOD, "\033On", +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, "\033OC", 0, +1, 0}, { 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, 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_Insert, ShiftMask, "\033[2;2~", 0, 0, 0},