Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function emitKeypressEvents
import { emitKeypressEvents } from "https://deno.land/std@0.154.0/node/internal/readline/emitKeypressEvents.mjs";

accepts a readable Stream instance and makes it emit "keypress" events

Parameters

stream
optional
iface = [UNSUPPORTED]