Function RealTimeConsoleInput.nextEvent

Returns the next event.

InputEvent nextEvent();

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)