https://gitlab.synchro.net/main/sbbs/-/commit/69eb27cff1897ede5f7b0a7b
Modified Files:
src/conio/win32cio.c src/syncterm/Wren.adoc src/syncterm/scripts/syncterm.wren ui_app.wren ui_input.wren ui_input_test.wren ui_widget.wren src/syncterm/wren_bind.c wren_bind_screen.c wren_bind_screen.h
Log Message:
wren: restore UIFC text input cursors
The Wren line editor assigned a solid cursor to insert mode and a
normal cursor to overwrite mode. This was opposite to SyncTERM's
reversed UIFC cursor setting. It also left bitmap cursor color in the
global conio foreground from an unrelated operation, allowing the
cursor to match the input background and disappear.
Use the normal cursor for insert mode and a solid block for overwrite.
Let focused widgets provide a cursor attribute, forward it through
containers, and have App install and restore it with the cursor state.
Expose the current Screen attribute so the previous value is preserved.
Correct Win32 custom-cursor conversion so visible start/end geometry
is not treated as hidden and scanline height is converted to the
percentage required by CONSOLE_CURSOR_INFO.
Co-Authored-By: OpenAI Codex <
noreply@openai.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net