Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function emitKeypressEvents
Re-export
import { emitKeypressEvents } from "https://deno.land/std@0.117.0/node/_readline.js";

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

Parameters

stream
optional
iface = [UNSUPPORTED]