FabGL
ESP32 Display Controller and Graphics Library
|
Selects a color for the specified attribute.
This method allows to indicate a color when the terminal prints a character with a specific attribute. If a character has multiple attributes then the resulting color is undefined. To disable attribute color call the other setColorForAttribute() overload.
attribute | Style/attribute to set color. Only CharStyle::Bold, CharStyle::ReducedLuminosity, CharStyle::Italic and CharStyle::Underline are supported |
color | Color of the attribute |
maintainStyle | If True style is applied. If False just the specified color is applied. |
Definition at line 977 of file terminal.cpp.