FabGL
ESP32 VGA Controller and Graphics Library

◆ connectLocally()

void fabgl::TerminalClass::connectLocally ( )

Permits using of terminal locally.

Create a queue where to put ANSI keys decoded from keyboard or as replies to terminal queries. This queue is accessible with read(), available() and peek() methods.

Example:

   Terminal.begin();
   Terminal.connectLocally();
   // from here you can use Terminal.read() to receive keys from keyboard
   // and Terminal.write() to control the display.