Skip to main content
Module

x/cliffy/prompt/mod.ts>GenericInputKeys

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Latest
interface GenericInputKeys
implements GenericPromptKeys
import { type GenericInputKeys } from "https://deno.land/x/cliffy@v1.0.0-rc.4/prompt/mod.ts";

Input keys options.

Properties

optional
moveCursorLeft: string[]

Cursor left keymap. Default is ["left"].

optional
moveCursorRight: string[]

Cursor right keymap. Default is ["right"].

optional
deleteCharLeft: string[]

Delete cursor left keymap. Default is ["backspace"].

optional
deleteCharRight: string[]

Delete cursor right keymap. Default is ["delete"].