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

pull/1/head
nicm 2015-01-30 12:33:03 +00:00
parent adcc71d4d5
commit 144025e3e6
1 changed files with 1 additions and 1 deletions

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->flags & TTY_FOCUS) {
tty->flags &= ~TTY_FOCUS;
tty_puts(tty, "\033[?1004l");
tty_raw(tty, "\033[?1004l");
}
}