• src/syncterm/Wren.adoc src/syncterm/scripts/ui_input.wren ui_input_tes

    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/c97924540b81e05079330cb5
    Modified Files:
    src/syncterm/Wren.adoc src/syncterm/scripts/ui_input.wren ui_input_test.wren ui_popup_test.wren
    Log Message:
    ui: show the end of long prompt values

    Prompt initializes a TextInput value before assigning its bounds. The
    cursor was placed at the end, but the horizontal viewport remained at
    zero because no field width existed yet. This displayed the value prefix
    while clamping the visible cursor into the field, then jumped on the
    first cursor movement.

    Recalculate the TextInput viewport whenever its width is assigned or
    changed. Start from the unscrolled position before ensuring visibility
    so long values consistently show their trailing characters and a cell
    for the insertion cursor.

    Cover both direct TextInput layout and the long initial-value Prompt
    path, and document the viewport contract.

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

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