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

    Type Alias MouseRegionRect

    A rectangular region in terminal coordinates used for mouse hit-testing.

    Coordinates are 1-based terminal columns/rows (the same coordinate space xterm-mouse events report). Host frameworks are responsible for converting their layout coordinates into this space (e.g. adding the live-region viewport offset).

    type MouseRegionRect = {
        height: number;
        width: number;
        x: number;
        y: number;
    }
    Index
    height: number

    Region height in terminal cells.

    width: number

    Region width in terminal cells.

    x: number

    1-based terminal column of the region's top-left corner.

    y: number

    1-based terminal row of the region's top-left corner.