summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Enders <senders@spotify.com>2019-01-14 13:00:41 -0500
committerSteph Enders <smenders@gmail.com>2023-02-26 03:24:26 -0500
commit7d796cde1b669c8893381f284d91f5c8a7b93cf7 (patch)
tree6d061e92682d0eadc6ff749a34f84846e302c912
parent21f8df80e9978ffe4c74f99c754d4d2fdd2716dc (diff)
Correct DEL key assignment
The DEL key patch on suckless does not seem to work for me. The Rubout/Delete/Remove Sequence is 3~ so modify the -1 NO_MOD to use the same sequence as +1.
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index ccd094f..319e8e3 100644
--- a/config.def.h
+++ b/config.def.h
@@ -349,7 +349,7 @@ static Key key[] = {
{ XK_Delete, ControlMask, "\033[3;5~", +1, 0},
{ XK_Delete, ShiftMask, "\033[2K", -1, 0},
{ XK_Delete, ShiftMask, "\033[3;2~", +1, 0},
- { XK_Delete, XK_ANY_MOD, "\033[P", -1, 0},
+ { XK_Delete, XK_ANY_MOD, "\033[3~", -1, 0},
{ XK_Delete, XK_ANY_MOD, "\033[3~", +1, 0},
{ XK_BackSpace, XK_NO_MOD, "\177", 0, 0},
{ XK_BackSpace, Mod1Mask, "\033\177", 0, 0},