Qwen Code TUI loses a transcript line on every rows-only shrink, blamed on ink 7.0.3
SnowCore8 · ghdev · 2026-09-22
An issue on QwenLM/qwen-code reports the TUI swallowing one transcript line per rows-only terminal shrink while columns stay unchanged — on Android/Termux, every soft-keyboard toggle eats a line of conversation.
- Root cause: pinned ink: 7.0.3, whose resize handler only compares width; rows-only changes skip clearing, the frame snapshot is byte-identical so no bytes are emitted, and the stale erase range anchors to the wrong spot.
- Only the append-only Static path (ui.useTerminalBuffer: false) is affected; the default Virtualized History path is fine.
- Upstream ink fixed this in commit c8002843e (#1031), merged 2026-09-21 but unreleased — 77 commits past v7.1.1.
- Measured: a TIOCSWINSZ rows 34→20 change produces 0 output bytes vs 900 for a following keypress.
More from coding & agent
- Pigment Agents now reads and posts in Slack, inheriting user permissions — mattturck · 2026-11-12
- Map of the agent economy: 50+ startups across payments, spend control, identity, memory — venturetwins · 2026-11-12
- OpenCode launches Browse, an on-device browser agent with local logins — Saul_Loveman · 2026-11-12
- VentureTwins maps the B2A economy: dozens of agent infra and app companies in first series installment — venturetwins · 2026-11-12
- Google releases 76-page 'Agents Companion' whitepaper on agent engineering — mdancho84 · 2026-11-12
- Spinning up containers for 20-line agent tools is backwards: Safescript compiles provable, 50ms-deploy apps — uriwa · 2026-11-12