mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 09:28:51 +00:00
Focus off needs to be sent with tty_raw, reported by Geoff Nixon.
This commit is contained in:
parent
adcc71d4d5
commit
144025e3e6
2
tty.c
2
tty.c
@ -290,7 +290,7 @@ tty_stop_tty(struct tty *tty)
|
|||||||
if (tty_term_has(tty->term, TTYC_XT)) {
|
if (tty_term_has(tty->term, TTYC_XT)) {
|
||||||
if (tty->flags & TTY_FOCUS) {
|
if (tty->flags & TTY_FOCUS) {
|
||||||
tty->flags &= ~TTY_FOCUS;
|
tty->flags &= ~TTY_FOCUS;
|
||||||
tty_puts(tty, "\033[?1004l");
|
tty_raw(tty, "\033[?1004l");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user