@cartridge-engine/keyboard-engine
    Preparing search index...

    Interface MousePosition

    A mouse position in terminal coordinates (1-based column and row).

    This is the shape returned by Mouse#getLastPosition and Mouse#getMousePosition.

    interface MousePosition {
        x: number;
        y: number;
    }
    Index
    x y
    x: number

    The x-coordinate (column), 1-indexed.

    y: number

    The y-coordinate (row), 1-indexed.