diff options
| -rw-r--r-- | vui.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -423,6 +423,11 @@ static void attr_chg(VuiAttr *ptr, VuiAttr to) { VuiAttr from = *ptr; if (from == to) return; + /* bold colors will keep the terminal bold, even on changing after */ + if ((from & 8) && (~to & 8)) { + from |= A_BOLD; + } + int attr_chg_count = stdc_count_ones(ATTR_A(from) ^ ATTR_A(to)); int chg_attr = (attr_chg_count != 0); if (!chg_attr) goto chg_colors; |
