mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 19:58:48 +00:00
Ctrl keys are < 0x7f, not Unicode.
This commit is contained in:
parent
059580e0f7
commit
ad2f7642f2
@ -238,7 +238,7 @@ key_string_lookup_string(const char *string)
|
||||
}
|
||||
|
||||
/* Convert the standard control keys. */
|
||||
if (KEYC_IS_UNICODE(key) &&
|
||||
if (key <= 127 &&
|
||||
(modifiers & KEYC_CTRL) &&
|
||||
strchr(other, key) == NULL &&
|
||||
key != 9 &&
|
||||
|
Loading…
Reference in New Issue
Block a user