mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Be more specific in the DSR we are looking for so it doesn't get
confused with mouse sequences. Also set a flag and don't bother checking for it if we have already seen it (same for DA), and don't check if we never asked for it.
This commit is contained in:
5
tty.c
5
tty.c
@ -327,8 +327,9 @@ tty_start_tty(struct tty *tty)
|
||||
tty->flags |= TTY_FOCUS;
|
||||
tty_puts(tty, "\033[?1004h");
|
||||
}
|
||||
tty_puts(tty, "\033[c\033[1337n");
|
||||
}
|
||||
tty_puts(tty, "\033[c\033[1337n"); /* DA and DSR */
|
||||
} else
|
||||
tty->flags |= (TTY_HAVEDA|TTY_HAVEDSR);
|
||||
|
||||
tty->flags |= TTY_STARTED;
|
||||
tty_invalidate(tty);
|
||||
|
Reference in New Issue
Block a user