diff options
author | 2013-06-11 19:18:02 +0000 | |
---|---|---|
committer | 2013-06-11 19:18:02 +0000 | |
commit | 6c25d4258f19e7eca6c00078e6f242c1484a936a (patch) | |
tree | ae8634a44886d0c205eb249e94521a2da5775f38 | |
parent | High memory page flipping for the buffer cache. (diff) | |
download | wireguard-openbsd-6c25d4258f19e7eca6c00078e6f242c1484a936a.tar.xz wireguard-openbsd-6c25d4258f19e7eca6c00078e6f242c1484a936a.zip |
revert r1.156 "Add support for focus notifications when tmux pane changes"
beck@ found annoying beeps if a machine was shutdown while tmux is running
and you then focus in/out of an xterm; kettenis tracked it down to 1.156.
-rw-r--r-- | usr.bin/tmux/tty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c index c918de26294..0557ab37251 100644 --- a/usr.bin/tmux/tty.c +++ b/usr.bin/tmux/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.160 2013/06/02 07:52:15 nicm Exp $ */ +/* $OpenBSD: tty.c,v 1.161 2013/06/11 19:18:02 sthen Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -220,7 +220,7 @@ tty_start_tty(struct tty *tty) tty_puts(tty, "\033[?1000l\033[?1006l\033[?1005l"); if (tty_term_has(tty->term, TTYC_XT)) - tty_puts(tty, "\033[c\033[>4;1m\033[?1004h\033[m"); + tty_puts(tty, "\033[c\033[>4;1m\033[m"); tty->cx = UINT_MAX; tty->cy = UINT_MAX; @@ -283,7 +283,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_raw(tty, "\033[>4m\033[?1004l\033[m"); + tty_raw(tty, "\033[>4m\033[m"); tty_raw(tty, tty_term_string(tty->term, TTYC_RMCUP)); |