FabGL
ESP32 Display Controller and Graphics Library

◆ available()

int available ( )

Gets the number of codes available in the keyboard queue.

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

Returns
The number of codes available to read.
Examples
SSD1306_OLED/128x64/NetworkTerminal/NetworkTerminal.ino, SSD1306_OLED/128x64/RTClock/RTClock.ino, VGA/LoopbackTerminal/LoopbackTerminal.ino, and VGA/NetworkTerminal/NetworkTerminal.ino.

Definition at line 1697 of file terminal.cpp.