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

    Interface ViewportSnapshot

    Current viewport dimensions and clamped offsets.

    interface ViewportSnapshot {
        height: number;
        width: number;
        x: number;
        y: number;
        contentHeight: number;
        contentWidth: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    height: number

    Height measured in terminal rows.

    width: number

    Width measured in terminal cells.

    x: number

    Horizontal offset measured in terminal cells.

    y: number

    Vertical offset measured in terminal rows.

    contentHeight: number

    Total content height in rows.

    contentWidth: number

    Total content width in cells.