FabGL
ESP32 VGA Controller and Graphics Library

◆ peek()

int fabgl::TerminalClass::peek ( )

Read a code from the keyboard without advancing to the next one.

Keyboard queue is available only after TerminalClass.connectLocally() call.

Returns
The next code, or -1 if none is available.