Created
December 15, 2020 03:05
-
-
Save ObserverHerb/28fc4af5224541005c868d9b3c382e56 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Screen.cpp b/src/Screen.cpp | |
index bba16a97..1cde7131 100644 | |
--- a/src/Screen.cpp | |
+++ b/src/Screen.cpp | |
@@ -461,8 +461,14 @@ void Screen::updateEffectiveRendition() | |
_effectiveBackground = _currentBackground; | |
} | |
- if ((_currentRendition & RE_BOLD) == 0 && (_currentRendition & RE_FAINT) != 0) { | |
+ if ((_currentRendition & RE_BOLD) != 0) { | |
+ if ((_currentRendition & RE_FAINT) == 0) { | |
+ _effectiveForeground.setIntensive(); | |
+ } | |
+ } else { | |
+ if ((_currentRendition & RE_FAINT) != 0) { | |
_effectiveForeground.setFaint(); | |
+ } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment