mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Restore previous behaviour so that C-X remains the same as C-x. Instead,
translate incoming extended keys so that they are consistent.
This commit is contained in:
@ -239,10 +239,11 @@ key_string_lookup_string(const char *string)
|
||||
|
||||
/* Convert the standard control keys. */
|
||||
if (key < KEYC_BASE && (modifiers & KEYC_CTRL) &&
|
||||
strchr(other, key) == NULL &&
|
||||
(key < 64 || key > 95)) {
|
||||
strchr(other, key) == NULL) {
|
||||
if (key >= 97 && key <= 122)
|
||||
key -= 96;
|
||||
else if (key >= 64 && key <= 95)
|
||||
key -= 64;
|
||||
else if (key == 32)
|
||||
key = 0;
|
||||
else if (key == 63)
|
||||
|
Reference in New Issue
Block a user