keys: add underscore as special key. Should close T2369
This commit is contained in:
parent
d2e39f818e
commit
da0a6284cd
|
@ -601,6 +601,30 @@ static const Tty_Key tty_keys[] = {
|
|||
KH("\x9f"), // cursor Shift+Ctrl+Alt+minus
|
||||
},
|
||||
},
|
||||
{
|
||||
"underscore",
|
||||
sizeof("underscore") - 1,
|
||||
{
|
||||
KH("_"), // default underscore
|
||||
KH("\033_"), // default Alt+underscore
|
||||
KH("\x1f"), // default Ctrl+underscore
|
||||
KH("\x9f"), // default Ctrl+Alt+underscore
|
||||
KH("_"), // default Shift+underscore
|
||||
KH("\033_"), // default Shift+Alt+underscore
|
||||
KH("\x1f"), // default Shift+Ctrl+underscore
|
||||
KH("\x9f"), // default Shift+Ctrl+Alt+underscore
|
||||
},
|
||||
{
|
||||
KH("_"), // cursor underscore
|
||||
KH("\033_"), // cursor Alt+underscore
|
||||
KH("\x1f"), // cursor Ctrl+underscore
|
||||
KH("\x9f"), // cursor Ctrl+Alt+underscore
|
||||
KH("_"), // cursor Shift+underscore
|
||||
KH("\033_"), // cursor Shift+Alt+underscore
|
||||
KH("\x1f"), // cursor Shift+Ctrl+underscore
|
||||
KH("\x9f"), // cursor Shift+Ctrl+Alt+underscore
|
||||
},
|
||||
},
|
||||
{
|
||||
"space",
|
||||
sizeof("space") - 1,
|
||||
|
|
Loading…
Reference in New Issue