=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tty-term.c,v retrieving revision 1.75 retrieving revision 1.76 diff -u -r1.75 -r1.76 --- src/usr.bin/tmux/tty-term.c 2020/04/20 15:37:32 1.75 +++ src/usr.bin/tmux/tty-term.c 2020/04/23 10:22:53 1.76 @@ -1,4 +1,4 @@ -/* $OpenBSD: tty-term.c,v 1.75 2020/04/20 15:37:32 nicm Exp $ */ +/* $OpenBSD: tty-term.c,v 1.76 2020/04/23 10:22:53 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott @@ -528,6 +528,9 @@ /* Delete curses data. */ del_curterm(cur_term); + /* 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"); @@ -554,7 +557,7 @@ 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);