diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-11-26 22:26:51 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-11-26 22:26:51 +0000 |
commit | ba5404d93e40e61176ffb150b66ddc3b349603a7 (patch) | |
tree | 9cec05e4f35f19edda65d8faa7257589268f7a51 | |
parent | 4ca857e0e922d0afeb7896ff62e9f47c0c36c535 (diff) | |
download | rtmux-ba5404d93e40e61176ffb150b66ddc3b349603a7.tar.gz rtmux-ba5404d93e40e61176ffb150b66ddc3b349603a7.tar.bz2 rtmux-ba5404d93e40e61176ffb150b66ddc3b349603a7.zip |
Continue rather than returning if not a mouse key, to avoid hanging on any
function key...
-rw-r--r-- | tty-keys.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; } |