From 144025e3e6ecd5503326a674de70075851e54a85 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 30 Jan 2015 12:33:03 +0000 Subject: [PATCH] Focus off needs to be sent with tty_raw, reported by Geoff Nixon. --- tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tty.c b/tty.c index 2ff2fccc..875e4200 100644 --- a/tty.c +++ b/tty.c @@ -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"); } }