1
0
mirror of https://github.com/tmux/tmux.git synced 2025-04-28 08:08:54 +00:00

Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam 2022-06-03 12:01:09 +01:00
commit e77e11ec6b

2
tty.c
View File

@ -814,7 +814,7 @@ tty_update_mode(struct tty *tty, int mode, struct screen *s)
tty_puts(tty, "\033[?1006h");
if (mode & MODE_MOUSE_ALL)
tty_puts(tty, "\033[?1000h\033[?1002h\033[?1003h");
if (mode & MODE_MOUSE_BUTTON)
else if (mode & MODE_MOUSE_BUTTON)
tty_puts(tty, "\033[?1000h\033[?1002h");
else if (mode & MODE_MOUSE_STANDARD)
tty_puts(tty, "\033[?1000h");