ConsoleInput.onEvent

void onEvent(ConsoleInputCallback callback) @property @trusted nothrow

Register a callback for console input events.

The callback is invoked when console input events are available. Events are delivered in batches for efficiency.

Parameters

callbackHandler invoked when events are available.