• src/conio/cterm_test.c

    From Deucе@VERT to Git commit to main/sbbs/master on Mon Jul 20 16:56:59 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 <[email protected]>

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net