mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-17 00:51:36 +02:00
Not all terminals swap CSI and SS3 on ctrl, so remove that.
Also mark the rxvt special-cases as such until terminfo is updated to have kLFT5, kRIT5 etc.
This commit is contained in:
@ -95,7 +95,10 @@ struct input_key_ent input_keys[] = {
|
||||
{ KEYC_PPAGE|KEYC_CTRL, "\033[5^", 0 },
|
||||
{ KEYC_BTAB, "\033[Z", 0 },
|
||||
|
||||
/* Arrow keys. Cursor versions must come first. */
|
||||
/*
|
||||
* Arrow keys. Cursor versions must come first. The codes are toggled
|
||||
* between CSI and SS3 versions when ctrl is pressed.
|
||||
*/
|
||||
{ KEYC_UP|KEYC_CTRL, "\033[A", INPUTKEY_CURSOR },
|
||||
{ KEYC_DOWN|KEYC_CTRL, "\033[B", INPUTKEY_CURSOR },
|
||||
{ KEYC_RIGHT|KEYC_CTRL, "\033[C", INPUTKEY_CURSOR },
|
||||
|
Reference in New Issue
Block a user