aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authornicm <nicm>2017-04-18 21:41:42 +0000
committernicm <nicm>2017-04-18 21:41:42 +0000
commitf731ae4a2dc6aca565b20dffd6ddf661e585cbb5 (patch)
treea76fe1ffcb324ce0723b653234db7e0191864cb7 /tty.c
parent8c8ce08d7927e6a83f0cb09388b2d1068fded529 (diff)
downloadrtmux-f731ae4a2dc6aca565b20dffd6ddf661e585cbb5.tar.gz
rtmux-f731ae4a2dc6aca565b20dffd6ddf661e585cbb5.tar.bz2
rtmux-f731ae4a2dc6aca565b20dffd6ddf661e585cbb5.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 'tty.c')
-rw-r--r--tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tty.c b/tty.c
index 82fcbeba..73aeb91f 100644
--- a/tty.c
+++ b/tty.c
@@ -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;