https://gitlab.synchro.net/main/sbbs/-/commit/13c434bacedb40ab7da9e4da
Modified Files:
src/doors/syncdoom/syncdoom.c
Log Message:
syncdoom: stats-overlay display fixes (letterbox clear, shrink, MB/s)
Three fixes to the Ctrl-S overlay (and the Ctrl-T/N/F4 labels), reported on a large Windows Terminal / SSH window where the centered game frame never repaints
the top row:
- Clear on dismiss: when a label's dwell ends (or the overlay is toggled off) the
top row is wiped (ESC[1;1H ESC[2K) and a full repaint forced. In a letterboxed
window that row is in the margin, so it was stranding the text otherwise.
- Shrink-gap blanking: the overlay is right-justified, so a narrower redraw (fewer
fps/lag digits, or KB/s -> MB/s) left the previous wider text's left end behind.
Track the prior width and blank exactly the now-uncovered cells.
- Throughput reads fractional MB/s above 999 KB/s (KiB/MiB of wire bytes) so the
field stays narrow on a fast link (LAN sixel runs 3-6 MB/s).
Confirmed fixed live on Windows Terminal (LAN).
Co-Authored-By: Claude Opus 4.8 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net