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

    Interface RenderContextMenuOptions

    Options accepted by renderContextMenu.

    interface RenderContextMenuOptions {
        activeId?: string;
        height?: number;
        items: readonly ContextMenuItem[];
        width?: number;
    }
    Index

    Properties

    activeId?: string

    Currently highlighted item id.

    height?: number

    Maximum rendered height.

    items: readonly ContextMenuItem[]

    Menu items in visual order.

    width?: number

    Maximum terminal-cell width of each line.