https://gitlab.synchro.net/main/sbbs/-/commit/5651d5592e5a5ffb7b320a04
Modified Files:
src/syncterm/Wren.adoc src/syncterm/scripts/ui_app.wren ui_widget_test.wren
Log Message:
Discard modals left by failed handlers
Snapshot the App modal stack before each synchronous event dispatch.
When a handler aborts after pushing a dialog, remove frames outside the pre-dispatch common prefix so an orphaned pane cannot consume the next
Escape or Backspace.
Keep modals that the failed handler successfully dismissed, preserving completed close operations and the existing Key.quit recovery behavior. Document the error-boundary contract and add regression coverage for the
next Escape after an abort.
Co-Authored-By: OpenAI Codex <
noreply@openai.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net