Struct RealTimeConsoleInput

Encapsulates the stream of input events received from the terminal input.

struct RealTimeConsoleInput ;

Constructors

NameDescription
this To capture input, you need to provide a terminal and some flags.

Methods

NameDescription
getch Get one key press from the terminal, discarding other events in the process. Returns dchar.init upon receiving end-of-file.
kbhit Returns true if there iff getch() would not block.
nextEvent Returns the next event.
timedCheckForInput Check for input, waiting no longer than the number of milliseconds