diff options
| author | WormHeamer | 2025-11-07 19:53:01 -0500 |
|---|---|---|
| committer | WormHeamer | 2025-11-07 19:53:01 -0500 |
| commit | 32fc8d098ed058179ce4a2fdf0d09b6c2a561879 (patch) | |
| tree | 81e6104e83f1204d1dd869c35c08228800700094 /vui.c | |
| parent | 6d5c57abcb42e0b8d268b99bc6c3b10c661d799e (diff) | |
ansi
Diffstat (limited to 'vui.c')
| -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; |
