st
simple terminal
git clone https://9o.is/git/st.git
commit 59fcbe446d5d0a50979446573536effe77d2ae6a parent 10c8c789c039d4e726df44befaa7a67e82713dd8 Author: Roberto E. Vargas Caballero <k0ga@shike2.com> Date: Fri, 13 Mar 2015 07:26:16 +0000 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. Diffstat:
| M | config.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", 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},