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