mirror of https://github.com/tmux/tmux.git
Continue rather than returning if not a mouse key, to avoid hanging on any
function key...pull/1/head
parent
4ca857e0e9
commit
ba5404d93e
|
@ -467,8 +467,7 @@ tty_keys_next(struct tty *tty)
|
||||||
key = KEYC_MOUSE;
|
key = KEYC_MOUSE;
|
||||||
goto handle_key;
|
goto handle_key;
|
||||||
case -1: /* no, or not valid */
|
case -1: /* no, or not valid */
|
||||||
evbuffer_drain(tty->event->input, size);
|
break;
|
||||||
return (1);
|
|
||||||
case 1: /* partial */
|
case 1: /* partial */
|
||||||
goto partial_key;
|
goto partial_key;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue