aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2012-11-15 15:54:34 +0100
committerChristoph Lohmann <20h@r-36.net>2012-11-15 15:54:34 +0100
commite7bb14e03e383daf2505ca304adca78b57884513 (patch)
tree5e130519dcf154ae43705e7179dfe041ede14f80
parent4389f2eb1b27f7a210e1f631e703c48a8ca8d50b (diff)
downloadst-e7bb14e03e383daf2505ca304adca78b57884513.tar.gz
st-e7bb14e03e383daf2505ca304adca78b57884513.tar.bz2
st-e7bb14e03e383daf2505ca304adca78b57884513.zip
Fixing Return in non-crlf mode.
-rw-r--r--config.def.h4
1 files changed, 2 insertions, 2 deletions
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},