https://gitlab.synchro.net/main/sbbs/-/commit/c062f230a8c6c8d38b2399ea
Modified Files:
src/sbbs3/ansi_terminal.cpp
Log Message:
ANSI_Terminal: reset the background to default with SGR 49, not 39
attrstr() emitted SGR 39 (default foreground) when switching to an
attribute with BG_UNKNOWN, so the terminal's background color was never
reset. A background left set (e.g. by ANSI art) then bled into the text
that followed, while curatr claimed the default background, e.g. when
pause() or putmsg() restored an attribute saved after an ESC[0m.
Introduced in 374282bf81 (skins-28-shop, 2025-03-30).
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
--- SBBSecho 3.38-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)