import { GenericPrompt } from "https://deno.land/x/cliffy@v0.16.0/prompt/mod.ts";
Generic prompt representation.
Constructors
new
protected
GenericPrompt(settings: S)Properties
protected
readonly
cursor: CursorMethods
protected
optional
body(): string | undefined | Promise<string | undefined>protected
defaults(): stringprotected
error(): string | undefinedprotected
hint(): string | undefinedprotected
isKey<K extends any, N extends keyof K>(): booleanCheck if key event has given name or sequence.
protected
message(): stringprotected
submit(): Promise<boolean>