1
0
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:
Nicholas Marriott 2009-11-26 22:26:51 +00:00
parent 4ca857e0e9
commit ba5404d93e

View File

@ -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;
}