aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Henderson <sthen@openbsd.org>2013-06-11 19:18:02 +0000
committerStuart Henderson <sthen@openbsd.org>2013-06-11 19:18:02 +0000
commitd6debc21c777dc0e993fd7928bbba51075685491 (patch)
tree032bf6ad2f951156fe4aa85acb53e49c0abc5fcd
parentddb52a2b157c1970081a2fb30f1413d57ec35b1e (diff)
downloadrtmux-d6debc21c777dc0e993fd7928bbba51075685491.tar.gz
rtmux-d6debc21c777dc0e993fd7928bbba51075685491.tar.bz2
rtmux-d6debc21c777dc0e993fd7928bbba51075685491.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--tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tty.c b/tty.c
index 652d2b77..cf6e9652 100644
--- a/tty.c
+++ b/tty.c
@@ -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));