diff options
author | Thomas Adam <thomas@xteddy.org> | 2020-04-23 12:01:26 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2020-04-23 12:01:26 +0100 |
commit | 5653bc828765490930fad9206c15cec72c9c493c (patch) | |
tree | f37cae81c5ebc4dce5e0f2d7f7ff0c751a343990 /tty-term.c | |
parent | c74572da92d6ede88c04bd65e67e82f682ea2ff0 (diff) | |
parent | 766b425d051a833dac768d6dc9eafc87a3f03146 (diff) | |
download | rtmux-5653bc828765490930fad9206c15cec72c9c493c.tar.gz rtmux-5653bc828765490930fad9206c15cec72c9c493c.tar.bz2 rtmux-5653bc828765490930fad9206c15cec72c9c493c.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'tty-term.c')
-rw-r--r-- | tty-term.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -534,6 +534,9 @@ tty_term_create(struct tty *tty, char *name, int *feat, int fd, char **cause) del_curterm(cur_term); #endif + /* Apply overrides so any capabilities used for features are changed. */ + tty_term_apply_overrides(term); + /* These are always required. */ if (!tty_term_has(term, TTYC_CLEAR)) { xasprintf(cause, "terminal does not support clear"); @@ -560,7 +563,7 @@ tty_term_create(struct tty *tty, char *name, int *feat, int fd, char **cause) if (tty_term_flag(term, TTYC_XT)) tty_add_features(feat, "title", ":,"); - /* Apply the features and overrides. */ + /* Apply the features and overrides again. */ tty_apply_features(term, *feat); tty_term_apply_overrides(term); |