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

    Interface RenderTaskProgressOptions

    Options accepted by renderTaskProgress.

    interface RenderTaskProgressOptions {
        activity?: string;
        characters?: ProgressBarCharacters;
        formatValue?: (context: ProgressBarValueContext) => string;
        height?: number;
        max?: number;
        min?: number;
        markers?: TaskProgressMarkers;
        showMarker?: boolean;
        showProgress?: boolean;
        steps?: readonly StepIndicatorStep[];
        stepMarkers?: StepIndicatorMarkers;
        status?: TaskProgressStatus;
        title: string;
        value?: number;
        width?: number;
    }
    Index

    Properties

    activity?: string

    Optional current activity text rendered under the title.

    Characters used by the optional progress bar.

    formatValue?: (context: ProgressBarValueContext) => string

    Formats optional progress value text.

    height?: number

    Maximum rendered line count.

    max?: number

    Upper bound for the optional progress value.

    100

    min?: number

    Lower bound for the optional progress value.

    0

    Marker mapping for the title line.

    showMarker?: boolean

    Whether the title status marker is rendered.

    true

    showProgress?: boolean

    Whether the optional progress bar is rendered.

    true

    steps?: readonly StepIndicatorStep[]

    Optional steps rendered after the progress bar.

    stepMarkers?: StepIndicatorMarkers

    Marker mapping for optional steps.

    Semantic task status.

    'running'

    title: string

    Non-empty task title.

    value?: number

    Optional numeric progress value.

    width?: number

    Maximum rendered width measured in terminal cells.