修复 · Bug fixes
- 专注模式输入框:修复在文本中间删除/编辑时光标跳到末尾的问题——此前按一次 Backspace 后,后续删除会一路吃掉结尾的文字;输入法在句中上屏后光标同样会跳尾。
Focus mode input bar: fixed the caret jumping to the end of the text after a mid-text edit — one Backspace in the middle and every further press ate the tail; the caret also jumped after an IME commit inserted mid-text. - 输入回显后的焦点恢复不再依赖事件时序巧合:失焦处理器现在能区分「回显抢走焦点」与「用户主动离开」,输入法组合期间被外部写入打断时也会保住未上屏文本。
Focus restoration after draft echoes no longer relies on event-timing coincidence: the blur handler now tells an echo-stolen blur from the user actually leaving, and an IME composition interrupted by an external write keeps its uncommitted text. - 新增针对运行中 dsh GUI 的无头光标/输入法回归测试脚本(
tests/e2e/),用于在 dsh 升级后探测宿主行为漂移。
Added a headless caret/IME regression harness against the live dsh GUI (tests/e2e/) to detect host-side behavior drift after dsh upgrades.
Full Changelog: v0.11.2...v0.11.3