https://gitlab.synchro.net/main/sbbs/-/commit/efc8c15aa023d5de7bec3e7a
Modified Files:
src/syncterm/Wren.adoc src/syncterm/scripts/auto/menu/main_menu.wren src/syncterm/scripts/menu_bbs_editor.wren ui.wren ui_input.wren ui_input_test.wren ui_popup.wren ui_popup_test.wren
Log Message:
wren: restore K_EDIT prompt behavior
The UIFC menu passed K_EDIT for 34 existing-value inputs. The initial
Wren migration only assigned those values to TextInput, causing typing
to append at the end. This affected directory fields, program settings,
sort profiles, web lists, font names, palette components, and repeated
Find queries.
Add SelectOnFocusInput to preserve normal TextInput assignment while
providing UIFC-style existing-value editing. Select the value whenever
the widget gains focus, highlight only selected text, and return to
ordinary colors after cursor movement. Use it for Prompt, Find, the
palette component editor, and the main-menu comment editor.
Reselect palette values after a percent reset, export the new input and
Find through the public UI module, and update the Wren documentation.
Replace the popup test that expected append-at-end behavior with
replacement and movement coverage.
Co-Authored-By: OpenAI Codex <
noreply@openai.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net