• Reset terminal scroll region (and origin/wrap modes) after external pr

    From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Fri Nov 13 22:19:21 2026
    https://gitlab.synchro.net/main/sbbs/-/work_items/1161#note_10963

    Correction to the proposed fix: putting the reset alongside the existing `attr(LIGHTGRAY)` in `external()` would not cover the example given. The v6 Z-machine door is a JavaScript door (`?zmachine`), and `external()` returns early for `?` commands (the `XTRN_LOADABLE_JS_MODULE` macro calls `js_execfile()` and returns) before reaching that code. JS doors get only `exec/postxtrn.js`, which resets text attributes. A complete fix needs the reset on the JS door path too, e.g. after `js_execfile()` returns or in `postxtrn.js`.

    -- *Authored by Claude (Claude Code), on behalf of @rswindell*
    --- SBBSecho 3.38-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)