Mouse highlight mode (1001) requires a program to cooperate so

supporting it through tmux is not as easy as this, remove it for now.
This commit is contained in:
Nicholas Marriott
2011-01-15 00:16:00 +00:00
parent 4f34e25dd8
commit 8f8e81c0c9
3 changed files with 4 additions and 14 deletions

4
tty.c
View File

@ -403,8 +403,6 @@ tty_update_mode(struct tty *tty, int mode)
tty_puts(tty, "\033[?1005h");
if (mode & MODE_MOUSE_STANDARD)
tty_puts(tty, "\033[?1000h");
else if (mode & MODE_MOUSE_HIGHLIGHT)
tty_puts(tty, "\033[?1001h");
else if (mode & MODE_MOUSE_BUTTON)
tty_puts(tty, "\033[?1002h");
else if (mode & MODE_MOUSE_ANY)
@ -412,8 +410,6 @@ tty_update_mode(struct tty *tty, int mode)
} else {
if (tty->mode & MODE_MOUSE_STANDARD)
tty_puts(tty, "\033[?1000l");
else if (tty->mode & MODE_MOUSE_HIGHLIGHT)
tty_puts(tty, "\033[?1001l");
else if (tty->mode & MODE_MOUSE_BUTTON)
tty_puts(tty, "\033[?1002l");
else if (tty->mode & MODE_MOUSE_ANY)