FabGL
ESP32 VGA Controller and Graphics Library

◆ clear()

void fabgl::TerminalClass::clear ( )

Clear the screen.

Clears the screen sending "CSI 2 J" command to the screen.

Example:

   // Fill the screen with blue
   Terminal.setBackgroundColor(Color::Blue);
   Terminal.clear();