import { Cliffy } from "https://deno.land/x/dmm@v2.1.2/tests/integration/up-to-date-deps/original_deps.ts";
const { GenericList } = Cliffy;
Generic list prompt representation.
Constructors
new
GenericList(settings: S)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