mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Add some missing special keys to key_string_lookup_key, fix a mouse
check in server_client_handle_key, and tweak a comment.
This commit is contained in:
@ -758,7 +758,7 @@ server_client_handle_key(struct client *c, key_code key)
|
||||
wp = w->active;
|
||||
|
||||
/* Forward mouse keys if disabled. */
|
||||
if (key == KEYC_MOUSE && !options_get_number(s->options, "mouse"))
|
||||
if (KEYC_IS_MOUSE(key) && !options_get_number(s->options, "mouse"))
|
||||
goto forward;
|
||||
|
||||
/* Treat everything as a regular key when pasting is detected. */
|
||||
|
Reference in New Issue
Block a user