Skip to main content
Module

x/cliffy/prompt/mod.ts>GenericListKeys

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

GenericList key options.

Properties

optional
next: string[]

Select next option keymap. Default is ["down", "d", "n", "2"].

optional
previous: string[]

Select previous option keymap. Default is ["up", "u", "p", "8"].

optional
nextPage: string[]

Select next page keymap. Default is ["pagedown", "right"].

optional
previousPage: string[]

Select previous page keymap. Default is ["pageup", "left"].

optional
open: string[]

Select next option keymap. Default is ["right", "enter", "return"].

optional
back: string[]

Select next option keymap. Default is ["left", "escape", "enter", "return"].