• src/conio/cterm_test.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Thu Mar 19 10:20:48 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/252b02cae86ff13e2cca7f5d
    Modified Files:
    src/conio/cterm_test.c
    Log Message:
    Add 29 more ANSI unit tests (206 cterm_test total)

    ED variants (above, all), EL variants (left, all), tabs (TBC, CHT/CBT,
    CVT), scroll with content verification (RI, LF, DECSTBM region), SL/SR,
    scroll with margins (SU/SD smoke tests), SGR extended (dim, conceal,
    256-color fg/bg, RGB fg/bg), DECIC/DECDC, DECCARA/DECRARA (bold toggle, attribute preservation), HPB/VPB clamping, CUP/HVP defaults.

    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon Jul 20 16:56:58 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/aa20854ee060592db76a38c6
    Modified Files:
    src/conio/cterm_test.c
    Log Message:
    Fix cterm key encoding test capture

    Capture encoded keystrokes through the keystroke callback added when
    cterm responses and user input were split. The test harness previously installed only the response callback, so encoding functions returned
    the expected lengths while the tests observed empty output.

    This restores coverage for ANSI, VT52, ATASCII, PETSCII, Prestel, BBC,
    and Doorway key encoding.

    Co-Authored-By: OpenAI Codex <noreply@openai.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)