diff options
author | Malfurious <m@lfurio.us> | 2021-10-02 23:52:58 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2024-08-12 13:14:36 -0400 |
commit | 27c4eb4b2d57099b2383f5e954b24b80946b5c57 (patch) | |
tree | a3ae5a864150681e3d1a5ddd7940bae85676ced9 | |
parent | 4631112ee7a1e39c9648cd3e850938fba8487e45 (diff) | |
download | st-27c4eb4b2d57099b2383f5e954b24b80946b5c57.tar.gz st-27c4eb4b2d57099b2383f5e954b24b80946b5c57.zip |
patch: delkey
Return BS on pressing backspace and DEL on pressing the delete key.
-rw-r--r-- | config.def.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h index adfcb77..e7f5a0b 100644 --- a/config.def.h +++ b/config.def.h @@ -281,7 +281,7 @@ static Key key[] = { { XK_KP_Delete, ControlMask, "\033[3;5~", +1, 0}, { XK_KP_Delete, ShiftMask, "\033[2K", -1, 0}, { XK_KP_Delete, ShiftMask, "\033[3;2~", +1, 0}, - { XK_KP_Delete, XK_ANY_MOD, "\033[P", -1, 0}, + { XK_KP_Delete, XK_ANY_MOD, "\033[3~", -1, 0}, { XK_KP_Delete, XK_ANY_MOD, "\033[3~", +1, 0}, { XK_KP_Multiply, XK_ANY_MOD, "\033Oj", +2, 0}, { XK_KP_Add, XK_ANY_MOD, "\033Ok", +2, 0}, @@ -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}, |