aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authornicm <nicm>2020-04-20 15:37:32 +0000
committernicm <nicm>2020-04-20 15:37:32 +0000
commit117ec1b2e603c2692ab564947b099ec79a20150f (patch)
treecaa93040de57eecf5e92868674ed4eaaf6cd26b9 /tty.c
parent2083a6ea2050fb211eab3da0df0ff5a40b4973b4 (diff)
downloadrtmux-117ec1b2e603c2692ab564947b099ec79a20150f.tar.gz
rtmux-117ec1b2e603c2692ab564947b099ec79a20150f.tar.bz2
rtmux-117ec1b2e603c2692ab564947b099ec79a20150f.zip
Apply terminal-overrides after terminal detection, it always takes
precedence.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index 0214524c..556931da 100644
--- a/tty.c
+++ b/tty.c
@@ -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 */