import { emitInputEvents } from "https://deno.land/x/tui@2.0.0/src/input_reader/mod.ts";
Read keypresses from given stdin, parse them and emit to given emitter.
On Windows keys are read by calling _getch()
in msvcrt.dll
.
Parameters
stdin: Stdin
emitter: EventEmitter<InputEventRecord>