mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-09 13:54:54 +02:00
Drop explicit support for F13-F20 and change to match the xterm terminfo
entry: F13-F24 are S-F1 to S-F12 F25-F36 are C-F1 to C-F12 F37-F48 are C-S-F1 to C-S-F12 F49-F60 are M-F1 to M-F12 and F61-F63 are M-S-F1 to M-S-F3 This should be no difference for applications inside tmux, but means that any key binding for F13 will need to be replaced by S-F1 and so on.
This commit is contained in:
16
input-keys.c
16
input-keys.c
@ -57,14 +57,14 @@ const struct input_key_ent input_keys[] = {
|
||||
{ KEYC_F10, "\033[21~", 0 },
|
||||
{ KEYC_F11, "\033[23~", 0 },
|
||||
{ KEYC_F12, "\033[24~", 0 },
|
||||
{ KEYC_F13, "\033[25~", 0 },
|
||||
{ KEYC_F14, "\033[26~", 0 },
|
||||
{ KEYC_F15, "\033[28~", 0 },
|
||||
{ KEYC_F16, "\033[29~", 0 },
|
||||
{ KEYC_F17, "\033[31~", 0 },
|
||||
{ KEYC_F18, "\033[32~", 0 },
|
||||
{ KEYC_F19, "\033[33~", 0 },
|
||||
{ KEYC_F20, "\033[34~", 0 },
|
||||
{ KEYC_F1|KEYC_SHIFT, "\033[25~", 0 },
|
||||
{ KEYC_F2|KEYC_SHIFT, "\033[26~", 0 },
|
||||
{ KEYC_F3|KEYC_SHIFT, "\033[28~", 0 },
|
||||
{ KEYC_F4|KEYC_SHIFT, "\033[29~", 0 },
|
||||
{ KEYC_F5|KEYC_SHIFT, "\033[31~", 0 },
|
||||
{ KEYC_F6|KEYC_SHIFT, "\033[32~", 0 },
|
||||
{ KEYC_F7|KEYC_SHIFT, "\033[33~", 0 },
|
||||
{ KEYC_F8|KEYC_SHIFT, "\033[34~", 0 },
|
||||
{ KEYC_IC, "\033[2~", 0 },
|
||||
{ KEYC_DC, "\033[3~", 0 },
|
||||
{ KEYC_HOME, "\033[1~", 0 },
|
||||
|
Reference in New Issue
Block a user