diff options
| author | WormHeamer | 2025-11-08 05:17:41 -0500 |
|---|---|---|
| committer | WormHeamer | 2025-11-08 05:17:41 -0500 |
| commit | c27b23a411369febfaa66ae67260b4f67b0b5b17 (patch) | |
| tree | 41026dbc5161aceb43d34fdbc9f8ad5fb0099e35 /vui.c | |
| parent | f1163e3c697b25ffc17b061dfbf77f2aae2b2f27 (diff) | |
don't act as if prev bright color is bold if @to is actually bold
Diffstat (limited to 'vui.c')
| -rw-r--r-- | vui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -420,7 +420,7 @@ static void attr_chg(VuiAttr *ptr, VuiAttr to) { if (from == to) return; /* bold colors will keep the terminal bold, even on changing after */ - if ((from & 8) && (~to & 8)) { + if ((from & 8) && (~to & 8) && (~to & A_BOLD)) { from |= A_BOLD; } |
