aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicm <nicm>2015-01-30 12:33:03 +0000
committernicm <nicm>2015-01-30 12:33:03 +0000
commit144025e3e6ecd5503326a674de70075851e54a85 (patch)
tree1b59754955e243531e82554d85c93a07fbe4a5d7
parentadcc71d4d5d338d0f7d13867e59a11741eb36afa (diff)
downloadrtmux-144025e3e6ecd5503326a674de70075851e54a85.tar.gz
rtmux-144025e3e6ecd5503326a674de70075851e54a85.tar.bz2
rtmux-144025e3e6ecd5503326a674de70075851e54a85.zip
Focus off needs to be sent with tty_raw, reported by Geoff Nixon.
-rw-r--r--tty.c2
1 files changed, 1 insertions, 1 deletions
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");
}
}