Module

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

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

Handle user input event.

Parameters

event: KeyCode

Key event.

Returns

Promise<void>