summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2013-03-22 10:40:23 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2013-03-22 10:40:23 +0000
commite2e06d93a51e7f1d9210583f4b21ecdbc669741d (patch)
treeb226993399a7cc80599f594ca069343cb105cd27 /usr.bin/tmux
parent9abe833a38967d8916249682b4b8e99fd556542b (diff)
Use tty_raw on stop, not tty_puts.
Diffstat (limited to 'usr.bin/tmux')
-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 da3c0dd75c6..e3b028226b6 100644
--- a/usr.bin/tmux/tty.c
+++ b/usr.bin/tmux/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.154 2013/03/22 10:34:46 nicm Exp $ */
+/* $OpenBSD: tty.c,v 1.155 2013/03/22 10:40:22 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -284,7 +284,7 @@ tty_stop_tty(struct tty *tty)
tty_raw(tty, "\033[?1000l\033[?1006l\033[?1005l");
if (tty_term_has(tty->term, TTYC_XT))
- tty_puts(tty, "\033[>4m");
+ tty_raw(tty, "\033[>4m");
tty_raw(tty, tty_term_string(tty->term, TTYC_RMCUP));