st-delkey-0.6.diff (1775B)
1 diff --git a/config.def.h b/config.def.h 2 index 64e75b8..0811af4 100644 3 --- a/config.def.h 4 +++ b/config.def.h 5 @@ -211,7 +211,7 @@ static Key key[] = { 6 { XK_KP_Delete, ShiftMask, "\033[2K", -1, 0, 0}, 7 { XK_KP_Delete, ShiftMask, "\033[3;2~", +1, 0, 0}, 8 { XK_KP_Delete, XK_ANY_MOD, "\033[P", -1, 0, 0}, 9 - { XK_KP_Delete, XK_ANY_MOD, "\033[3~", +1, 0, 0}, 10 + { XK_KP_Delete, XK_ANY_MOD, "\177", +1, 0, 0}, 11 { XK_KP_Multiply, XK_ANY_MOD, "\033Oj", +2, 0, 0}, 12 { XK_KP_Add, XK_ANY_MOD, "\033Ok", +2, 0, 0}, 13 { XK_KP_Enter, XK_ANY_MOD, "\033OM", +2, 0, 0}, 14 @@ -266,8 +266,7 @@ static Key key[] = { 15 { XK_Delete, ShiftMask, "\033[2K", -1, 0, 0}, 16 { XK_Delete, ShiftMask, "\033[3;2~", +1, 0, 0}, 17 { XK_Delete, XK_ANY_MOD, "\033[P", -1, 0, 0}, 18 - { XK_Delete, XK_ANY_MOD, "\033[3~", +1, 0, 0}, 19 - { XK_BackSpace, XK_NO_MOD, "\177", 0, 0, 0}, 20 + { XK_Delete, XK_ANY_MOD, "\177", +1, 0, 0}, 21 { XK_Home, ShiftMask, "\033[2J", 0, -1, 0}, 22 { XK_Home, ShiftMask, "\033[1;2H", 0, +1, 0}, 23 { XK_Home, XK_ANY_MOD, "\033[H", 0, -1, 0}, 24 diff --git a/st.info b/st.info 25 index 2acd8b2..21b4734 100644 26 --- a/st.info 27 +++ b/st.info 28 @@ -53,7 +53,7 @@ st| simpleterm, 29 ka3=\E[5~, 30 kc1=\E[4~, 31 kc3=\E[6~, 32 - kbs=\177, 33 + kbs=\010, 34 kcbt=\E[Z, 35 kb2=\EOu, 36 kcub1=\EOD, 37 @@ -73,7 +73,7 @@ st| simpleterm, 38 kri=\E[1;2A, 39 kclr=\E[3;5~, 40 kdl1=\E[3;2~, 41 - kdch1=\E[3~, 42 + kdch1=\177~, 43 kich1=\E[2~, 44 kend=\E[4~, 45 kf1=\EOP,