Module

x/cliffy/prompt/toggle.ts>ToggleKeys

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
interface ToggleKeys
implements GenericPromptKeys
import { type ToggleKeys } from "https://dotland.deno.dev/x/cliffy@v1.0.0-rc.3/prompt/toggle.ts";

Toggle prompt keymap.

Properties

optional
active: string[]

Activate keymap. Default is ["right", "y", "j", "s", "o"].

optional
inactive: string[]

Deactivate keymap. Default is ["left", "n"].