diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2021-04-20 06:35:54 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2021-06-10 09:20:56 +0100 |
commit | 825feac9f8f8aa10ec69932ab6ea52e58586e058 (patch) | |
tree | e3a717b54adb1ffabab4c538ae8f49e02119ea19 /tty-keys.c | |
parent | d8c006925464ce50d92aee913aa452acf2033173 (diff) | |
download | rtmux-825feac9f8f8aa10ec69932ab6ea52e58586e058.tar.gz rtmux-825feac9f8f8aa10ec69932ab6ea52e58586e058.tar.bz2 rtmux-825feac9f8f8aa10ec69932ab6ea52e58586e058.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; |