BBS:      TELESC.NET.BR
Assunto:  src/conio/cterm_test.c
De:       Deuc¨
Data:     Thu, 19 Mar 2026 10:20:49 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/cd6ae0d95f5ad0999a125d8c
Modified Files:
	src/conio/cterm_test.c
Log Message:
Add pixel-level tests and non-ANSI edge cases (275 cterm_test)

Stage 3  Pixel tests (6): character rendering (fg/bg present),
blank cell (uniform), SGR color change affects pixels, bg color
change, bold differs from normal, 256-color differs from default.
Uses getpixels() with palette-index comparison (not RGB, since
offscreen SDL stores indices not resolved colors).

Stage 4  Non-ANSI edge cases (6): ATASCII encoding boundary bytes
in ESC mode, PETSCII font switching (C64 + C128 font IDs), PETSCII
all 16 colors in C128-80 mode, Prestel all 7 alpha colors, Prestel
all 7 mosaic colors (with mode flag verification).

Added pixel helper infrastructure: get_pixel(), PIX_R/G/B macros,
pixels_have_fg() for checking non-uniform pixel regions.

Co-Authored-By: Claude Opus 4.6 (1M context) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]