bombshell-dev / clack

Effortlessly build beautiful command-line apps

Home Page:https://clack.cc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] MultiSelectOptions cursorAt not working, Select Missing this

Rar9 opened this issue · comments

commented

Why is cursorAt not working for MultiSelectOptions?

any Why is maxItems misisng

and the otherway for SelectOptions

interface MultiSelectOptions<Options extends Option<Value>[], Value> {
    message: string;
    options: Options;
    initialValues?: Value[];
    required?: boolean;
    cursorAt?: Value;
}

interface SelectOptions<Options extends Option<Value>[], Value> {
    message: string;
    options: Options;
    initialValue?: Value;
    maxItems?: number;
}