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

    Interface RenderPromptDialogOptions

    Options accepted by renderPromptDialog.

    interface RenderPromptDialogOptions {
        cancelLabel?: string;
        defaultValue?: string;
        error?: string;
        height?: number;
        hint?: string;
        message: string;
        submitLabel?: string;
        title: string;
        width?: number;
    }
    Index

    Properties

    cancelLabel?: string

    Cancel action label.

    defaultValue?: string

    Current input value.

    error?: string

    Error text shown below the value.

    height?: number

    Maximum rendered height.

    hint?: string

    Helpful text shown below the message.

    message: string

    Main prompt message.

    submitLabel?: string

    Confirm action label.

    title: string

    Dialog title.

    width?: number

    Maximum terminal-cell width of each line.