_  _    __    ___  __    ___  _____  _  _
 ( \( )  /__\  / __)(  )  / __)(  _  )( \( )
  )  (  /(__)\( (__  )(__( (__  )(_)(  )  (
 (_)\_)(__)(__)\___)(____)\___)(_____)(_)\_)

The History of Hacking  ·  May 31 – June 2, 2026  ·  Carolina Beach, NC

Connect from your terminal: telnet naclconbbs.net 23  |  ssh naclconbbs.net -p 2222

  • src/doors/termgfx/mouse.c mouse.h src/doors/termgfx/test/test_mouse.c

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sat Jul 18 03:02:49 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/5ece4c8de5947e95b00c5af1
    Modified Files:
    src/doors/termgfx/mouse.c mouse.h src/doors/termgfx/test/test_mouse.c Log Message:
    termgfx: match mouse module comment style to the directory

    mouse.h and mouse.c were the only top-level files in termgfx still
    using /* ... */ block comments; every sibling (sgrmouse.h, sixel.h,
    term.h, keymode.h, ...) uses // line comments exclusively. Convert
    all of them, preserving wording; no code, identifiers, or escape
    string literals changed.

    Also strengthen test/test_mouse.c per review:
    - add a Ps=3 ("permanently set") DECRPM case, since mouse.c's latch
    condition is (params[1] == 1 || params[1] == 3) but only Ps=1 was
    covered
    - actually call termgfx_mouse_note_pixel_report() twice and assert
    the latch is still 1, since the comment claimed idempotency but
    the test only called it once

    Removed the unused <stddef.h> include from mouse.c (no NULL/size_t
    use in the file).

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