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

    Interface ClusterData

    Stateful layout and theme data accepted by cluster.

    interface ClusterData {
        capabilities?: Pick<TerminalCapabilities, "colorLevel">;
        backgroundTone?: keyof ThemeColors;
        borderTone?: keyof ThemeColors;
        foregroundTone?: keyof ThemeColors;
        theme?: Theme;
        align?: ClusterAlign;
        columnGap?: number;
        gap?: number;
        rowGap?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    capabilities?: Pick<TerminalCapabilities, "colorLevel">

    Explicit color capability used for deterministic rendering.

    backgroundTone?: keyof ThemeColors

    Semantic background token.

    'background'

    borderTone?: keyof ThemeColors

    Semantic border token.

    'border'

    foregroundTone?: keyof ThemeColors

    Semantic foreground token.

    'foreground'

    theme?: Theme

    Semantic terminal theme.

    align?: ClusterAlign

    Row alignment after wrapping.

    'start'

    columnGap?: number

    Empty cells between adjacent children. Overrides gap horizontally.

    gap?: number

    Shared empty cells/rows between adjacent children and rows.

    0

    rowGap?: number

    Empty rows between wrapped rows. Overrides gap vertically.