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

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Wed Jul 22 20:38:40 2026
    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>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)