On Thu, Nov 12, 2020 at 10:58:36PM +0100, Clyme wrote:
> The delkey patch appears to be broken on the latest commit of st (4ef0cbd).
> This patch fixes that.
> 
> --- config.def.h.orig   2020-11-12 20:23:48.867954750 +0100
> +++ config.def.h        2020-11-12 20:21:15.055922720 +0100
> @@ -276,7 +276,7 @@
>         { 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},
> @@ -344,7 +344,7 @@
>         { 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},

The wiki is public, feel free to push it.

https://suckless.org/wiki/

-- 
Kind regards,
Hiltjo

Reply via email to