import { GenericInput } from "https://deno.land/x/cliffy@v0.12.1/packages/prompt/mod.ts";
Constructors
new
protected
GenericInput(settings: S)Type Parameters
S extends GenericInputPromptSettings<T>
Methods
protected
addChar(char: string): voidprotected
deleteChar(): voidprotected
deleteCharRight(): voidprotected
getValue(): stringprotected
handleEvent(event: KeyEvent): Promise<boolean>protected
moveCursorLeft(): voidprotected
moveCursorRight(): voidprotected
setPrompt(message: string)Static Methods
inject(value: string): void