|
FabGL
ESP32 Display Controller and Graphics Library
|
| bool waitFor | ( | int | value, |
| int | timeOutMS = -1 |
||
| ) |
Wait for a specific code from keyboard, discarding all previous codes.
Keyboard queue is available only after Terminal.connectLocally() call.
| value | Char code to wait for. |
| timeOutMS | Timeout in milliseconds. -1 = no timeout (infinite wait). |
Definition at line 1720 of file terminal.cpp.