Function RealTimeConsoleInput.injectEvent
Injects a custom event into the terminal input queue.
void injectEvent(
trial .arsd .terminal .CustomEvent ce
) shared;
History
shared overload added November 24, 2021 (dub v10.4)
Bugs
Unless using TerminalDirectToEmulator, this will not wake up the
event loop if it is already blocking until normal terminal input
arrives anyway, then the event will be processed before the new event.
I might change this later.