mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-22 15:25:58 +01:00
Allow combinations with Backspace
XN_ANY_MOD makes that any combination of backspace will return always DEL. This patch lets to X to decide which value returns.
This commit is contained in:
parent
4f60751440
commit
b746816b78
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ static Key key[] = {
|
||||||
{ XK_Delete, ShiftMask, "\033[3;2~", +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[P", -1, 0, 0},
|
||||||
{ XK_Delete, XK_ANY_MOD, "\033[3~", +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_Home, ShiftMask, "\033[2J", 0, -1, 0},
|
{ XK_Home, ShiftMask, "\033[2J", 0, -1, 0},
|
||||||
{ XK_Home, ShiftMask, "\033[1;2H", 0, +1, 0},
|
{ XK_Home, ShiftMask, "\033[1;2H", 0, +1, 0},
|
||||||
{ XK_Home, XK_ANY_MOD, "\033[H", 0, -1, 0},
|
{ XK_Home, XK_ANY_MOD, "\033[H", 0, -1, 0},
|
||||||
|
|
Loading…
Reference in a new issue