blessed-components - v1.25.0
    Preparing search index...

    Interface CommandInputData<TSuggestion>

    interface CommandInputData<
        TSuggestion extends CommandInputSuggestion = CommandInputSuggestion,
    > {
        defaultValue?: string;
        history?: readonly string[];
        onCancel?: () => void;
        onSubmit?: (value: string) => void;
        onValueChange?: (value: string) => void;
        placeholder?: string;
        prompt?: string;
        status?: CommandInputStatus;
        statusText?: string;
        suggestions?: readonly TSuggestion[];
        value?: string;
    }

    Type Parameters

    Index

    Properties

    defaultValue?: string
    history?: readonly string[]
    onCancel?: () => void
    onSubmit?: (value: string) => void
    onValueChange?: (value: string) => void
    placeholder?: string
    prompt?: string
    statusText?: string
    suggestions?: readonly TSuggestion[]
    value?: string