import { GenericList } from "https://dotland.deno.dev/x/lume@v2.4.2/deps/cliffy.ts";
Generic list prompt representation.
Constructors
new
GenericList(settings: TSettings)Methods
protected
addChar(char: string): voidprotected
deleteChar(): voidprotected
deleteCharRight(): voidprotected
getInfo(): stringprotected
getListIndex(value?: string)protected
abstract
getListItem(item: GenericListOptionSettings, isSelected?: boolean): stringRender option.
protected
getOptionByValue(value: string): GenericListOptionSettings | undefinedFind option by value.
protected
getPageOffset(index: number)protected
match(): voidprotected
message(): stringprotected
moveCursorLeft(): voidprotected
moveCursorRight(): void