mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +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:
4
tty.c
4
tty.c
@ -565,9 +565,7 @@ tty_update_mode(struct tty *tty, int mode, struct screen *s)
|
||||
if (mode & ALL_MOUSE_MODES) {
|
||||
/*
|
||||
* Enable the SGR (1006) extension unconditionally, as
|
||||
* this is safe from misinterpretation. Do it in this
|
||||
* order, because in some terminals it's the last one
|
||||
* that takes effect and SGR is the preferred one.
|
||||
* it is safe from misinterpretation.
|
||||
*/
|
||||
tty_puts(tty, "\033[?1006h");
|
||||
if (mode & MODE_MOUSE_BUTTON)
|
||||
|
Reference in New Issue
Block a user