version 1.75, 2020/04/20 15:37:32 |
version 1.76, 2020/04/23 10:22:53 |
|
|
/* Delete curses data. */ |
/* Delete curses data. */ |
del_curterm(cur_term); |
del_curterm(cur_term); |
|
|
|
/* Apply overrides so any capabilities used for features are changed. */ |
|
tty_term_apply_overrides(term); |
|
|
/* These are always required. */ |
/* These are always required. */ |
if (!tty_term_has(term, TTYC_CLEAR)) { |
if (!tty_term_has(term, TTYC_CLEAR)) { |
xasprintf(cause, "terminal does not support clear"); |
xasprintf(cause, "terminal does not support clear"); |
|
|
if (tty_term_flag(term, TTYC_XT)) |
if (tty_term_flag(term, TTYC_XT)) |
tty_add_features(feat, "title", ":,"); |
tty_add_features(feat, "title", ":,"); |
|
|
/* Apply the features and overrides. */ |
/* Apply the features and overrides again. */ |
tty_apply_features(term, *feat); |
tty_apply_features(term, *feat); |
tty_term_apply_overrides(term); |
tty_term_apply_overrides(term); |
|
|