mirror of
https://github.com/tmux/tmux.git
synced 2025-11-03 00:06:07 +00:00
Add modified Tab key sequences, from Aaron Jensen, GitHub issue 3368.
This commit is contained in:
@@ -208,6 +208,9 @@ static const struct tty_default_key_raw tty_default_raw_keys[] = {
|
||||
/* Paste keys. */
|
||||
{ "\033[200~", KEYC_PASTE_START },
|
||||
{ "\033[201~", KEYC_PASTE_END },
|
||||
|
||||
/* Extended keys. */
|
||||
{ "\033[1;5Z", '\011'|KEYC_CTRL|KEYC_SHIFT|KEYC_EXTENDED },
|
||||
};
|
||||
|
||||
/* Default xterm keys. */
|
||||
@@ -974,7 +977,7 @@ tty_keys_extended_key(struct tty *tty, const char *buf, size_t len,
|
||||
log_debug("%s: extended key %.*s is %llx (%s)", c->name,
|
||||
(int)*size, buf, nkey, key_string_lookup_key(nkey, 1));
|
||||
}
|
||||
*key = nkey;
|
||||
*key = nkey|KEYC_EXTENDED;
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user