After the recent round of updates for st's keyboard functionality, the
ability to delete whole words in Readline with Alt-Backspace was
lost. In config.def.h, the entry for Backspace was changed from
XK_NO_MOD to XK_ANY_MOD. So, this is just a patch to change it back,
which restores the functionality. 

-brandon

diff -r fd5f564c962d config.def.h
--- a/config.def.h      Fri Nov 16 11:32:17 2012 +0100
+++ b/config.def.h      Mon Nov 19 17:09:35 2012 +0100
@@ -141,7 +141,7 @@
        { XK_KP_7,          XK_ANY_MOD,     "\033Ow",       +1,    0,    0},
        { XK_KP_8,          XK_ANY_MOD,     "\033Ox",       +1,    0,    0},
        { XK_KP_9,          XK_ANY_MOD,     "\033Oy",       +1,    0,    0},
-       { XK_BackSpace,     XK_ANY_MOD,     "\177",          0,    0,    0},
+       { XK_BackSpace,     XK_NO_MOD,      "\177",          0,    0,    0},
        { XK_Up,            ShiftMask,      "\033[1;2A",     0,    0,    0},
        { XK_Up,            ControlMask,    "\033[1;5A",     0,    0,    0},
        { XK_Up,            Mod1Mask,       "\033[1;3A",     0,    0,    0},

Reply via email to