From c27b23a411369febfaa66ae67260b4f67b0b5b17 Mon Sep 17 00:00:00 2001 From: WormHeamer Date: Sat, 8 Nov 2025 05:17:41 -0500 Subject: don't act as if prev bright color is bold if @to is actually bold --- vui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vui.c b/vui.c index 7afd974..c5b09bf 100644 --- a/vui.c +++ b/vui.c @@ -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; } -- cgit v1.2.3