mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 11:18:48 +00:00
Only map S-Tag in mode 2, not mode 1. GitHub issue 4304.
This commit is contained in:
parent
e149d29803
commit
eece41547e
@ -596,7 +596,7 @@ input_key(struct screen *s, struct bufferevent *bev, key_code key)
|
|||||||
|
|
||||||
/* Is this backtab? */
|
/* Is this backtab? */
|
||||||
if ((key & KEYC_MASK_KEY) == KEYC_BTAB) {
|
if ((key & KEYC_MASK_KEY) == KEYC_BTAB) {
|
||||||
if ((s->mode & EXTENDED_KEY_MODES) != 0) {
|
if (s->mode & MODE_KEYS_EXTENDED_2) {
|
||||||
/* When in xterm extended mode, remap into S-Tab. */
|
/* When in xterm extended mode, remap into S-Tab. */
|
||||||
key = '\011' | (key & ~KEYC_MASK_KEY) | KEYC_SHIFT;
|
key = '\011' | (key & ~KEYC_MASK_KEY) | KEYC_SHIFT;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user