mirror of
https://github.com/tmux/tmux.git
synced 2024-11-04 18:08:48 +00:00
Handle modifier 9 as Meta, GitHub issue 2647.
This commit is contained in:
parent
6f6b7f8261
commit
98650658a7
@ -252,7 +252,8 @@ static const key_code tty_default_xterm_modifiers[] = {
|
|||||||
KEYC_CTRL,
|
KEYC_CTRL,
|
||||||
KEYC_SHIFT|KEYC_CTRL,
|
KEYC_SHIFT|KEYC_CTRL,
|
||||||
KEYC_META|KEYC_IMPLIED_META|KEYC_CTRL,
|
KEYC_META|KEYC_IMPLIED_META|KEYC_CTRL,
|
||||||
KEYC_SHIFT|KEYC_META|KEYC_IMPLIED_META|KEYC_CTRL
|
KEYC_SHIFT|KEYC_META|KEYC_IMPLIED_META|KEYC_CTRL,
|
||||||
|
KEYC_META|KEYC_IMPLIED_META
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -944,6 +945,9 @@ tty_keys_extended_key(struct tty *tty, const char *buf, size_t len,
|
|||||||
case 8:
|
case 8:
|
||||||
nkey |= (KEYC_SHIFT|KEYC_META|KEYC_IMPLIED_META|KEYC_CTRL);
|
nkey |= (KEYC_SHIFT|KEYC_META|KEYC_IMPLIED_META|KEYC_CTRL);
|
||||||
break;
|
break;
|
||||||
|
case 9:
|
||||||
|
nkey |= (KEYC_META|KEYC_IMPLIED_META);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
*key = KEYC_NONE;
|
*key = KEYC_NONE;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user