diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2021-04-20 06:35:54 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2021-04-20 06:35:54 +0100 |
commit | 88575a27e2e847dbb97e44780ebe0e415f6a4ba5 (patch) | |
tree | c18757760f0a1d4568b3890613849321827a0897 /tty-keys.c | |
parent | 3a892228f45f744982fba827266cdf115db4464b (diff) | |
download | rtmux-88575a27e2e847dbb97e44780ebe0e415f6a4ba5.tar.gz rtmux-88575a27e2e847dbb97e44780ebe0e415f6a4ba5.tar.bz2 rtmux-88575a27e2e847dbb97e44780ebe0e415f6a4ba5.zip |
Add another couple of keys needed for extended keys, GitHub issue 2658.
Diffstat (limited to 'tty-keys.c')
-rw-r--r-- | tty-keys.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -959,7 +959,10 @@ tty_keys_extended_key(struct tty *tty, const char *buf, size_t len, */ if (nkey & KEYC_CTRL) { onlykey = (nkey & KEYC_MASK_KEY); - if (onlykey < 32 && onlykey != 9) + if (onlykey < 32 && + onlykey != 9 && + onlykey != 13 && + onlykey != 27) /* nothing */; else if (onlykey >= 97 && onlykey <= 122) onlykey -= 96; |