Encapsulates the stream of input events received from the terminal input.
To capture input, you need to provide a terminal and some flags.
A destructor is present on this object, but not explicitly documented in the source.
A postblit is present on this object, but not explicitly documented in the source.
Get one key press from the terminal, discarding other events in the process. Returns dchar.init upon receiving end-of-file.
If you are using arsd.simpledisplay and want terminal interop too, you can call this function to add it to the sdpy event loop and get the callback called on new input.
Returns true if there iff getch() would not block.
Returns the next event. Experimental: It is also possible to integrate this into a generic event loop, currently under -version=with_eventloop and it will require the module arsd.eventloop (Linux only at this point)
Requests the system to send paste data as a PasteEvent to this stream, if possible.
Check for input, waiting no longer than the number of milliseconds