st

fork of suckless's simple terminal
Index Commits Files Refs README LICENSE
commit f5075a9e9d27c64e115e056c5b973ab783c6c0f3
parent c87d45466bac0812101f3b0036a669cd3f72ab6b
Author: Ivan Delalande <colona@ycc.fr>
Date:   Wed, 11 Mar 2015 17:13:35 +0000

Backspace value shouldn't depend on keypad state

Diffstat:
Mconfig.def.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.def.h b/config.def.h
@@ -259,7 +259,7 @@ static Key key[] = {
     { XK_Delete,        ShiftMask,      "\033[3;2~",    +1,    0,    0},
     { XK_Delete,        XK_ANY_MOD,     "\033[P",       -1,    0,    0},
     { XK_Delete,        XK_ANY_MOD,     "\033[3~",      +1,    0,    0},
-    { XK_BackSpace,     XK_ANY_MOD,     "\177",         +1,    0,    0},
+    { XK_BackSpace,     XK_ANY_MOD,     "\177",          0,    0,    0},
     { XK_Home,          ShiftMask,      "\033[2J",       0,   -1,    0},
     { XK_Home,          ShiftMask,      "\033[1;2H",     0,   +1,    0},
     { XK_Home,          XK_ANY_MOD,     "\033[H",        0,   -1,    0},