• src/doors/termgfx/sixel.h termgfx_termio.c

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wednesday, July 22, 2026 20:38:40
    https://gitlab.synchro.net/main/sbbs/-/commit/0fb29ed0d4f7b087aa172241
    Modified Files:
    src/doors/termgfx/sixel.h termgfx_termio.c
    Log Message:
    termgfx: refresh sixel palette-mode comments for the tri-state

    Comment-only cleanup following the SIXEL_PAL_NONE/FULL/USED tri-state
    that replaced the old 0/1 boolean:

    - termgfx_termio.c: the g_rgbx_pal scratch comment said emit_pal is
    "always 1"; present_rgbx() actually always passes SIXEL_PAL_USED
    (the used-colour subset), so say that instead.
    - sixel.h: sixel_encode()'s doc comment said "pass zero otherwise",
    predating the tri-state; reworded to name SIXEL_PAL_NONE.
    - termgfx_termio.c: the full-frame emit_pal assignment had two
    stacked, overlapping SyncTERM-rationale comment blocks (an older
    "persists sixel color registers" block immediately followed by a
    newer "FULL only on a real palette change" block covering the same
    ground). Merged into one concise block; no content lost.

    No code lines touched.

    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

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