FabGL
ESP32 Display Controller and Graphics Library
|
void setBackgroundColor | ( | Color | color, |
bool | setAsDefault = true |
||
) |
Sets the background color.
Sets the background color sending an SGR ANSI code and optionally the default background color (used resetting the terminal).
color | Current or default background color. |
setAsDefault | If true the specified color is also used as default. |
Example:
Terminal.setBackgroundColor(Color::Black);
Definition at line 920 of file terminal.cpp.