Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/tui/src/input_reader/mod.ts>emitInputEvents

🦕 Deno module for creating Terminal User Interfaces
Latest
function emitInputEvents
import { emitInputEvents } from "https://deno.land/x/tui@2.1.11/src/input_reader/mod.ts";

Read keypresses from given stdin, parse them and emit to given emitter.

Parameters

stdin: Stdin
optional
minReadInterval = [UNSUPPORTED]