Focus off needs to be sent with tty_raw, reported by Geoff Nixon.

This commit is contained in:
nicm 2015-01-30 12:33:03 +00:00
parent adcc71d4d5
commit 144025e3e6

2
tty.c
View File

@ -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");
} }
} }