From: Roberto E. Vargas Caballero Date: Fri, 31 Jan 2014 11:23:53 +0000 (+0100) Subject: Fix SHIFT+DEL definition X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=d2173cd7162f89df4acaf9da8a30b5e5c0f2b9ab;p=st.git Fix SHIFT+DEL definition The AppMode and AsciiMode were inverted in the definition of this combination. Signed-off-by: Christoph Lohmann <20h@r-36.net> --- diff --git a/config.def.h b/config.def.h index 986f6e2..4664416 100644 --- a/config.def.h +++ b/config.def.h @@ -186,8 +186,8 @@ static Key key[] = { { XK_KP_Insert, XK_ANY_MOD, "\033[2~", +1, 0, 0}, { XK_KP_Delete, ControlMask, "\033[2J", -1, 0, 0}, { XK_KP_Delete, ControlMask, "\033[3;5~", +1, 0, 0}, - { XK_KP_Delete, ShiftMask, "\033[2K", +1, 0, 0}, - { XK_KP_Delete, ShiftMask, "\033[3;2~", -1, 0, 0}, + { XK_KP_Delete, ShiftMask, "\033[2K", -1, 0, 0}, + { XK_KP_Delete, ShiftMask, "\033[3;2~", +1, 0, 0}, { XK_KP_Delete, XK_ANY_MOD, "\033[P", -1, 0, 0}, { XK_KP_Delete, XK_ANY_MOD, "\033[3~", +1, 0, 0}, { XK_KP_Multiply, XK_ANY_MOD, "\033Oj", +2, 0, 0}, @@ -242,8 +242,8 @@ static Key key[] = { { XK_Insert, XK_ANY_MOD, "\033[2~", +1, 0, 0}, { XK_Delete, ControlMask, "\033[2J", -1, 0, 0}, { XK_Delete, ControlMask, "\033[3;5~", +1, 0, 0}, - { XK_Delete, ShiftMask, "\033[2K", +1, 0, 0}, - { XK_Delete, ShiftMask, "\033[3;2~", -1, 0, 0}, + { XK_Delete, ShiftMask, "\033[2K", -1, 0, 0}, + { 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_Home, ShiftMask, "\033[1;2H", 0, 0, 0},