• src/syncterm/scripts/wren_console.wrensrc/syncterm/CHANGES Wren.adoc s

    From Deuc¨@VERT to Git commit to main/sbbs/master on Sunday, July 19, 2026 09:24:30
    https://gitlab.synchro.net/main/sbbs/-/commit/27cfa8a83dd64d51932a65f6
    Added Files:
    src/syncterm/scripts/wren_console.wren
    Modified Files:
    src/syncterm/CHANGES Wren.adoc src/syncterm/scripts/auto/connected/console.wren online_menu.wren src/syncterm/scripts/auto/menu/main_menu.wren src/syncterm/scripts/menu_theme.wren syncterm.wren ui_app.wren ui_widget_test.wren wrentest.wren src/syncterm/wren_host.c wren_host_internal.h wren_menu_host.c
    Log Message:
    wren: add menu VM console access

    Extract the REPL UI into a shared library and bind Ctrl+` in both
    the connected session and persistent menu. Keep console log rings,
    REPL capture buffers, cached handles, and unread markers in the host
    state that owns their VM.

    Show the menu VM's unread-output indicator in the top-right corner.
    Refresh it after every menu event, and start menu REPL evaluation in
    the main_menu module.

    Catch runtime aborts from synchronous key and mouse handlers so a
    menu action error is logged and displayed without unwinding the main
    menu. Leave layout and paint failures outside the boundary to avoid a deterministic redraw loop.

    Document the two REPL entry points, VM isolation, indicator behavior,
    and error callback, and cover synchronous handler containment in the
    Wren UI tests.

    Co-Authored-By: OpenAI Codex <noreply@openai.com>

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