https://gitlab.synchro.net/main/sbbs/-/commit/781b4e9f132487e70c47b9f6
Modified Files:
src/syncterm/scripts/syncterm.wren
Log Message:
SyncTERM: force CP437 fonts inside Screen.modalRun
Every Wren App enters via Screen.modalRun, which already snapshots
the screen on the way in and restores it on the way out. When the
cterm emulation has selected ATASCII / PETSCII / Prestel / BEEB,
all five font slots point at that emulation's character set, so
panes drawing with CP437 codepoints (box-drawing chars, shaded
blocks, ANSI accents) render as the wrong glyphs and the typed-
character codepage translator -- which keys off slot 1 via
ciolib_getcodepage() -- pipes input through the wrong mapping.
Stamp slots 0..4 to font 0 ("Codepage 437 English") right after
Screen.save() captures the originals. No per-App changes
required: every modal pane (online_menu, capture_menu, music_menu, scrollback_view, sftp_app, disconnect_flow, ...) gets the fix at
the chokepoint.
Co-Authored-By: Claude Opus 4.7 (1M context) <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net