Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cliffy/prompt/mod.ts>GenericPrompt#handleEvent

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
method GenericPrompt.prototype.handleEvent
Re-export
import { GenericPrompt } from "https://deno.land/x/cliffy@v0.17.0/prompt/mod.ts";

Handle user input event.

Parameters

event: KeyEvent

Key event.

Returns

Promise<void>