On Sat, Jul 09, 2016 at 10:27:04AM +0700, alive4ever wrote:

> Should I add "\033\177" or there is another workaround?

Looks like I finally found the answer myself.

I hope this patch will be included as default reference config.def.h in
future releases, so that users will get consistent BackSpace and
Alt+BackSpace behavior. This patch is based on 0.6 source code tarball
(tar.gz version).

Index: b/config.def.h
===================================================================
--- a/config.def.h
+++ b/config.def.h
@@ -268,6 +268,7 @@
        { XK_Delete,        XK_ANY_MOD,     "\033[P",       -1,    0,    0},
        { XK_Delete,        XK_ANY_MOD,     "\033[3~",      +1,    0,    0},
        { XK_BackSpace,     XK_NO_MOD,      "\177",          0,    0,    0},
+       { XK_BackSpace,     Mod1Mask,       "\033\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},

Reply via email to