FabGL
ESP32 Display Controller and Graphics Library

◆ peek()

int peek ( )

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

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

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

Definition at line 1733 of file terminal.cpp.