EventReader
fixed struct EventReaderStateful terminal event reader.
Lifecycle members
constructor
Initializes an event reader with a pending input buffer.
destructor
Releases reader-owned storage.
Instance fields
Instance members
void
void
Clears pending bytes and invalidates the current event.
nuint
bool
KeyModifiers
bool
bool
bool
bool
Returns true when an event is buffered or input is available.
scoped Event*
Reads the next event, blocking according to the PAL.
scoped Event*
Attempts to read the next event within the timeout.
Generated with campc 0.11.0-preview.1.