-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
The _COLOR_BRIGHT flag should be separated into _COLOR_FGBRIGHT and _COLOR_BGBRIGHT to allow accessing the upper 8 colors in ANSI mode. Particularly this allows access to bright and bold colors.
The output coding currently as:
Line 487 in ba9b76d
| result += colorstring[(29 + (_value & _COLOR_FG))]; |
result += colorstring[((_value & _COLOR_FGBRIGHT ? 89 : 29) + (_value & _COLOR_FG))];Currently it's possible to trick the existing code into giving bright and bold colors by requesting inverse bright bold <background> on <foreground> but this is really quite ugly.
Metadata
Metadata
Assignees
Labels
No labels