FabGL
ESP32 Display Controller and Graphics Library
|
void clear | ( | bool | moveCursor = true | ) |
Clears the screen.
Clears the screen sending "CSI 2 J" command to the screen.
moveCursor | If True moves cursor at position 1, 1. |
Example:
// Fill the screen with blue Terminal.setBackgroundColor(Color::Blue); Terminal.clear();
Definition at line 1010 of file terminal.cpp.