sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 0e35abd74167e1c1db7c5ab48aa148065f20af8b
parent 0dbca7ffa469b5009716f89ba357f0c4a111fd0d
Author: Martin Kopta <martin@kopta.eu>
Date:   Tue, 28 Jul 2015 16:28:49 +0200

Updated delkey patch

Diffstat:
Mst.suckless.org/patches/st-git-delkey.diff | 21++++-----------------
1 file changed, 4 insertions(+), 17 deletions(-)

diff --git a/st.suckless.org/patches/st-git-delkey.diff b/st.suckless.org/patches/st-git-delkey.diff @@ -1,18 +1,8 @@ -From cd3626ef20da275de94fbc5fc52e8a30e0a44384 Mon Sep 17 00:00:00 2001 -From: "Roberto E. Vargas Caballero" <k0ga@shike2.com> -Date: Mon, 9 Mar 2015 23:35:05 +0000 -Subject: [PATCH] Do the only true correct DEL/BACKSPACE style - ---- - config.def.h | 5 ++--- - st.info | 4 ++-- - 2 files changed, 4 insertions(+), 5 deletions(-) - diff --git a/config.def.h b/config.def.h -index 28a413b..1667ed6 100644 +index 930e468..b427840 100644 --- a/config.def.h +++ b/config.def.h -@@ -203,7 +203,7 @@ static Key key[] = { +@@ -228,7 +228,7 @@ static Key key[] = { { 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}, @@ -21,12 +11,12 @@ index 28a413b..1667ed6 100644 { XK_KP_Multiply, XK_ANY_MOD, "\033Oj", +2, 0, 0}, { XK_KP_Add, XK_ANY_MOD, "\033Ok", +2, 0, 0}, { XK_KP_Enter, XK_ANY_MOD, "\033OM", +2, 0, 0}, -@@ -258,8 +258,7 @@ static Key key[] = { +@@ -283,8 +283,7 @@ static Key key[] = { { 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_BackSpace, XK_ANY_MOD, "\177", 0, 0, 0}, +- { XK_BackSpace, XK_NO_MOD, "\177", 0, 0, 0}, + { XK_Delete, XK_ANY_MOD, "\177", +1, 0, 0}, { XK_Home, ShiftMask, "\033[2J", 0, -1, 0}, { XK_Home, ShiftMask, "\033[1;2H", 0, +1, 0}, @@ -53,6 +43,3 @@ index 2acd8b2..21b4734 100644 kich1=\E[2~, kend=\E[4~, kf1=\EOP, --- -2.2.1 -