The shared panel helpers counted characters, so a CJK prompt or UI rendered
rows wider than the terminal and broke the right border. _wrap_panel_text wraps
text holding wide characters by cells (splitting CJK runs with no spaces), row
padding and the title rule count cells. Plain ASCII (newlines/tabs included)
wraps exactly as before.
Only the cli_render.py/cli_panel.py hunks of f4c8021efe6 and 67e689cb8f4 from #149354.
- Batch calls mark the entry that failed: tool rows come from typed (verb, detail, failure)
parts built with the same per-entry suffix logic as the ┊ renderer.
- A fast failure keeps its reason ([exit 1]); only the timing waits for 0.1s.
- Tab-to-queue submits directly with mode="queue" instead of re-entering Enter, whose paste
and backslash-continuation rules could turn the key into a newline.
- The footer keeps the battery reading and vim mode label.
- Non-streamed answers print with soft wrap, so the terminal re-flows them on resize.
- _Panel moves to its own cli_panel module (cli_render stays under 1,000 lines).
- busy_input_mode resolution lives in one function, tested through load_cli_config.