qwen-code/packages/cli
Heyang Wang d5a05749bc
fix(cli): keep IME cursor aligned after footer updates (#7711)
* fix(cli): keep IME cursor aligned after footer updates

Preserve the terminal cursor intent across independent UI renders so
macOS input methods anchor their candidate window to the input prompt.

- Submit text input cursor positions using Ink's render-time contract
- Reassert the latest committed cursor before interactive frame writes
- Cover standard, incremental, static, and fullscreen rendering paths
- Keep cursor cleanup and hidden-state behavior intact

* docs(cli): explain render-time cursor submission

Document the non-obvious Ink hook ordering that requires cursor positions
to be supplied during render rather than from another effect.

- Prevent future refactors from reintroducing IME cursor misalignment

---------

Co-authored-by: heyang.why <heyang.why@alibaba-inc.com>
2026-07-26 11:42:06 +00:00
..
src fix(cli): keep IME cursor aligned after footer updates (#7711) 2026-07-26 11:42:06 +00:00
.gitignore feat(core): add opt-in built-in web_search backed by the DashScope Responses API (#7215) 2026-07-21 10:59:36 +00:00
index.ts fix(cli): add bootstrap fast paths (#6188) 2026-07-02 22:28:11 +00:00
package.json feat(channels): GitHub polling adapter with notification-as-wakeup architecture (#7632) 2026-07-25 09:31:50 +00:00
test-setup.ts feat(serve): persist dynamic workspace registrations (#6716) 2026-07-11 16:49:40 +00:00
tsconfig.json feat(webshell): replay ChatRecord history in readonly WebShell (#6999) 2026-07-19 00:09:44 +00:00
vitest.config.ts test: raise timeout ceiling for I/O-bound tests flaky under CI contention (#7230) 2026-07-19 12:03:48 +00:00