summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-01-30 12:33:04 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-01-30 12:33:04 +0000
commitc44b805619a94659fb8fa77432e63cc9a3df8761 (patch)
tree38063c43501534f468d30d93bdabfca21f862ddd
parent224478e61a701dfbf6fafbeaf930ea7c9595eed2 (diff)
Focus off needs to be sent with tty_raw, reported by Geoff Nixon.
-rw-r--r--usr.bin/tmux/tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c
index 5c418a9bc74..a9255811baf 100644
--- a/usr.bin/tmux/tty.c
+++ b/usr.bin/tmux/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.171 2015/01/20 08:18:04 nicm Exp $ */
+/* $OpenBSD: tty.c,v 1.172 2015/01/30 12:33:03 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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");
}
}