st

simple terminal
git clone git://git.suckless.org/st
Log | Files | Refs | README | LICENSE

commit d2173cd7162f89df4acaf9da8a30b5e5c0f2b9ab
parent 95591001306dc5c6b57f46155bd3e2b919114ea6
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri, 31 Jan 2014 12:23:53 +0100

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>

Diffstat:
Mconfig.def.h | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 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},