mirror of
https://github.com/tmux/tmux.git
synced 2024-12-24 01:58:46 +00:00
0x7f is a valid key.
This commit is contained in:
parent
661d0dfac9
commit
775fb562bd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user