• docs/superpowers/specs/2026-07-19-libtermgfx-termio-extraction-design.

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Sun Jul 19 15:25:24 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/43cf5c5c07455b137b04030d
    Added Files:
    docs/superpowers/specs/2026-07-19-libtermgfx-termio-extraction-design.md
    Log Message:
    docs: design spec for the libtermgfx terminal-I/O extraction

    Sub-project 1 of the syncrpg (EasyRPG / RPG Maker door) effort: lift syncscumm's sst_io.c terminal-I/O engine -- the render pipeline (canvas
    probe, aspect scale, sixel/JXL tiers, pacing), the input decode
    (kitty/evdev keyboard + SGR mouse), and the DOOR32/socket I/O -- into a
    shared libtermgfx termgfx_termio module with a door-facing API, then
    refactor syncscumm onto it behavior-identically so a second door can
    reuse it.

    The audio stream, encoders, key-mode and node helpers are already shared
    and out of scope. Behavior identity is gated on syncscumm's existing
    boot/unit tests passing unedited, a before/after wire-byte diff, and a
    live confirm.

    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)