• src/syncterm/menu.c menu.h term.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Sat Mar 21 06:26:33 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/041a352ff15aedd79809c6dd
    Modified Files:
    src/syncterm/menu.c menu.h term.c
    Log Message:
    Replace syncmenu() magic numbers with enum syncmenu_result

    Define SM_SCROLLBACK, SM_UPLOAD, SM_EXIT, etc. in menu.h so both
    syncmenu() and its caller use named constants instead of raw indices.
    The OOII menu item shifting (case 12/13 vs 13/14 depending on
    WITHOUT_OOII) is now handled by the enum automatically.

    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

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