https://gitlab.synchro.net/main/sbbs/-/commit/0edcaaf3875843a4b90510f6
Modified Files:
src/doors/syncdoom/render_text.c
Log Message:
syncdoom: skip redundant per-cell SGR in the text/block renderer
The text tier emitted a full color escape for every cell. Track the last foreground/background actually sent and emit only the component(s) that
changed -- a flat run now emits just the glyph -- cutting output bytes
sharply over a BBS link with identical on-screen results. The cache is
reset at each \033[0m (row end) and at frame start, where the terminal is
back to its default colors. Also drops the now-unused buffer_append_format.
Co-Authored-By: Claude Opus 4.8 <
[email protected]>
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net