mirror of
https://github.com/tmux/tmux.git
synced 2025-09-06 11:28:24 +00:00
Ctrl keys are < 0x7f, not Unicode.
This commit is contained in:
@@ -238,7 +238,7 @@ key_string_lookup_string(const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Convert the standard control keys. */
|
/* Convert the standard control keys. */
|
||||||
if (KEYC_IS_UNICODE(key) &&
|
if (key <= 127 &&
|
||||||
(modifiers & KEYC_CTRL) &&
|
(modifiers & KEYC_CTRL) &&
|
||||||
strchr(other, key) == NULL &&
|
strchr(other, key) == NULL &&
|
||||||
key != 9 &&
|
key != 9 &&
|
||||||
|
Reference in New Issue
Block a user