Skip to main content
Module

x/cliffy/prompt/toggle.ts>ToggleKeys

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Latest
interface ToggleKeys
implements GenericPromptKeys
import { type ToggleKeys } from "https://deno.land/x/cliffy@v1.0.0-rc.4/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"].