summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tty.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-04-18 21:41:42 +0000
committernicm <nicm@openbsd.org>2017-04-18 21:41:42 +0000
commit00c4aa97cbd85bd76b56ee144f81c3374195353d (patch)
tree1b4bbb38078506abdc1214a9c4d84672abdb5afa /usr.bin/tmux/tty.c
parentOn terminals without DECSLRM, when a pane that is less than the full (diff)
downloadwireguard-openbsd-00c4aa97cbd85bd76b56ee144f81c3374195353d.tar.xz
wireguard-openbsd-00c4aa97cbd85bd76b56ee144f81c3374195353d.zip
Revert use of DECSLRM on iTerm2, it doesn't help as much as we throught,
and there are some question marks about it's support.
Diffstat (limited to 'usr.bin/tmux/tty.c')
-rw-r--r--usr.bin/tmux/tty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c
index 2b99929dd7c..9497943a3a1 100644
--- a/usr.bin/tmux/tty.c
+++ b/usr.bin/tmux/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.264 2017/04/18 18:21:37 nicm Exp $ */
+/* $OpenBSD: tty.c,v 1.265 2017/04/18 21:41:42 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -74,7 +74,7 @@ static void tty_default_attributes(struct tty *, const struct window_pane *,
#define tty_use_acs(tty) \
(tty_term_has((tty)->term, TTYC_ACSC) && !((tty)->flags & TTY_UTF8))
#define tty_use_margin(tty) \
- ((tty)->term_type == TTY_VT420 || (tty)->term_type == TTY_ITERM2)
+ ((tty)->term_type == TTY_VT420)
#define tty_pane_full_width(tty, ctx) \
((ctx)->xoff == 0 && screen_size_x((ctx)->wp->screen) >= (tty)->sx)
@@ -251,7 +251,7 @@ tty_start_tty(struct tty *tty)
tty->flags |= TTY_FOCUS;
tty_puts(tty, "\033[?1004h");
}
- tty_puts(tty, "\033[c\033[1337n");
+ tty_puts(tty, "\033[c");
}
tty->flags |= TTY_STARTED;