summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tty.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-01-30 12:33:03 +0000
committernicm <nicm@openbsd.org>2015-01-30 12:33:03 +0000
commitabdf43861a6442138e9439b1827443ca6bd26f41 (patch)
tree76bc5a7a8543d55f3a7ed87544bf778fb95dd330 /usr.bin/tmux/tty.c
parentAdd a ssh_config HostbasedKeyType option to control which (diff)
downloadwireguard-openbsd-abdf43861a6442138e9439b1827443ca6bd26f41.tar.xz
wireguard-openbsd-abdf43861a6442138e9439b1827443ca6bd26f41.zip
Focus off needs to be sent with tty_raw, reported by Geoff Nixon.
Diffstat (limited to 'usr.bin/tmux/tty.c')
-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");
}
}