• src/doors/termgfx/mouse.c mouse.h src/doors/termgfx/test/test_mouse.cs

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Saturday, July 18, 2026 03:02:49
    https://gitlab.synchro.net/main/sbbs/-/commit/27322e835a80b39ac845f903
    Added Files:
    src/doors/termgfx/mouse.c mouse.h src/doors/termgfx/test/test_mouse.c Modified Files:
    src/doors/termgfx/CMakeLists.txt src/doors/termgfx/test/CMakeLists.txt Log Message:
    termgfx: add a shared SGR mouse handshake module

    Extract the terminal-protocol half of syncconquer's absolute-pixel mouse
    -- the DEC 1003/1006/1016 enable/restore strings, the SGR-Pixels latch
    (DECRQM reply + past-the-grid auto-detect) and the button-field classify
    -- into termgfx/mouse, so a second door (syncscumm) can share it instead
    of duplicating the handshake. Coordinate mapping stays door-side; only
    the protocol lives here, mirroring sgrmouse.h's split. Unit-tested.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net