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

    Interface RenderKeyValueOptions

    Options accepted by renderKeyValue.

    interface RenderKeyValueOptions {
        gap?: number;
        items: readonly KeyValueItem[];
        itemSeparator?: string;
        keyWidth?: number | "auto";
        layout?: KeyValueLayout;
        separator?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    gap?: number

    Spaces around a non-empty separator. When the separator is empty, the gap is inserted once between key and value.

    1

    items: readonly KeyValueItem[]

    Ordered key/value entries.

    itemSeparator?: string

    Text inserted between entries in the inline layout.

    ' · '

    keyWidth?: number | "auto"

    Width reserved for every key in terminal cells.

    auto uses the widest key. A numeric width truncates longer keys.

    'auto'

    Entry arrangement.

    'rows'

    separator?: string

    Text between each key and value. Use an empty string for whitespace-only separation.

    ':'