kimi-code/apps
liruifengv 1fbefc9939
fix(tui): Improve the Write tool UX. (#81)
* fix(tui): cap Write preview at args-finalize to preserve terminal scrollback

The Write tool preview rendered the full file content between args-finalize
and result, then snapped to the 10-line collapsed cap once the result landed.
That large shrink triggered pi-tui's full-redraw path, which emits \x1b[3J
and wipes the terminal scrollback (including history from before TUI start).

Cap the preview as soon as args finalize so the rendered height stays stable
across the args-finalize → result transition, avoiding the full redraw.

* chore: update changeset message
2026-05-26 19:16:13 +08:00
..
kimi-code fix(tui): Improve the Write tool UX. (#81) 2026-05-26 19:16:13 +08:00
vis refactor(vis): rewrite for new agent-core protocol (#34) 2026-05-26 17:57:49 +08:00