aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero <k0ga@shike2.com>2015-03-13 07:26:16 +0000
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2015-03-13 07:26:16 +0000
commitb746816b78447b9e4a3af7333a4e992eb8d32254 (patch)
tree6db0ede15053a0743ba8f0a2a4c4a881b447d6f5
parent4f60751440df55c11a8c601470b5d141d853e594 (diff)
downloadst-b746816b78447b9e4a3af7333a4e992eb8d32254.tar.gz
st-b746816b78447b9e4a3af7333a4e992eb8d32254.tar.bz2
Allow combinations with Backspace
XN_ANY_MOD makes that any combination of backspace will return always DEL. This patch lets to X to decide which value returns.
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 28a413b..8a8236c 100644
--- 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", 0, 0, 0},
+ { XK_BackSpace, XK_NO_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},