mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-11 16:38:47 +01:00
Merge branch 'obsd-master'
This commit is contained in:
commit
349a62ed4f
@ -160,7 +160,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