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.
This commit is contained in:
nicm
2017-04-18 21:41:42 +00:00
parent 8c8ce08d79
commit f731ae4a2d
3 changed files with 3 additions and 49 deletions

4
tty.c
View File

@ -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;