diff options
author | nicm <nicm> | 2015-11-16 22:57:51 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-11-16 22:57:51 +0000 |
commit | 775fb562bd0026ca4b2edc9bde99a85e4daf40ed (patch) | |
tree | 6db48076318b66e9dad992beedf9db4e00e721d5 /input-keys.c | |
parent | 661d0dfac9ad355ad32a9eaebd61d9e340fcfc3b (diff) | |
download | rtmux-775fb562bd0026ca4b2edc9bde99a85e4daf40ed.tar.gz rtmux-775fb562bd0026ca4b2edc9bde99a85e4daf40ed.tar.bz2 rtmux-775fb562bd0026ca4b2edc9bde99a85e4daf40ed.zip |
0x7f is a valid key.
Diffstat (limited to 'input-keys.c')
-rw-r--r-- | input-keys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/input-keys.c b/input-keys.c index 156cbe6a..2915cb45 100644 --- a/input-keys.c +++ b/input-keys.c @@ -161,7 +161,7 @@ input_key(struct window_pane *wp, key_code key, struct mouse_event *m) * if necessary. If it is a UTF-8 key, split it and send it. */ justkey = (key & ~KEYC_ESCAPE); - if (key != KEYC_NONE && justkey < 0x7f) { + if (key != KEYC_NONE && justkey <= 0x7f) { if (key & KEYC_ESCAPE) bufferevent_write(wp->event, "\033", 1); ud.data[0] = justkey; |