https://gitlab.synchro.net/main/sbbs/-/commit/69d60456af3eca65c9f1a512
Modified Files:
src/sbbs3/con_out.cpp
Log Message:
Don't let a Ctrl-A colour code cancel a bright-background code
ctrl_a() masked the attribute with 0xf8 when applying a foreground
colour code, which discards the BG_BRIGHT flag (bit 10) along with the
old colour. A Ctrl-AE (bright background) code followed by a colour
code, the order ans2asc -ice writes them in, therefore displayed a normal-intensity background, even for a user with iCE colours enabled.
The bug dates from the introduction of BG_BRIGHT and Ctrl-AE in
48e7520e10 (2019-05-09). Keep the flag across foreground colour codes,
as the background colour codes already do.
Co-Authored-By: Claude Fable 5.2 <
noreply@anthropic.com>
--- SBBSecho 3.38-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)