Apply terminal-overrides after terminal detection, it always takes

precedence.
This commit is contained in:
nicm
2020-04-20 15:37:32 +00:00
parent 2083a6ea20
commit 117ec1b2e6
4 changed files with 35 additions and 19 deletions

3
tty.c
View File

@ -469,7 +469,8 @@ tty_update_features(struct tty *tty)
{
struct client *c = tty->client;
tty_apply_features(tty->term, c->term_features);
if (tty_apply_features(tty->term, c->term_features))
tty_term_apply_overrides(tty->term);
if (tty_use_margin(tty))
tty_puts(tty, "\033[?69h"); /* DECLRMM */