Summary
When responding to an ask_user (multiple-choice) prompt with a freeform answer long enough to wrap to a second visual line, the input field drops characters and renders glitched separator artifacts at the right edge.
Reproduced live 2026-06-24 in Copilot CLI v1.0.64-3 on macOS.
Observed visible artifacts (from screenshot)
Input typed: This is what happens when a user types a multi line response, the cursor gets stuck to the edge of the screen and cant be moved by the arrows or mouse and the right edge glitches a bit.
Rendered by CLI:
>5. his is what happens when a user types a multi line response, |he ||
cursor gets stuck to the edge of the screen and cant be moved by
the arrows or mouse and the right edge glitches a bit.
- Leading character dropped — the leading
T in This is missing; text starts at his is what.
- Character at wrap boundary dropped —
the cursor became he cursor (the t was eaten at the soft-wrap point between line 1 and line 2).
- Right-edge glitches — stray
| and || characters render at the cursor / wrap-boundary position, overlapping the choice-box border.
- Cursor pins to right edge — once the input wraps, the cursor cannot be moved with arrow keys or mouse clicks to reposition within the typed text.
Expected
- All typed characters preserved (no leading clip, no wrap-boundary clip).
- Right edge renders cleanly without stray pipe characters.
- Cursor remains controllable via arrows / mouse across wrapped lines.
Note on original report
This was filed thinking the bug was about choice label wrap clipping. The actual bug is in the freeform response input field — the choice labels render fine.
Related
Why this matters
Silent character drops can change the meaning of the user's response (and the agent acts on what was received, not what was typed). Stuck cursor means the user can't fix it after the fact.
Summary
When responding to an
ask_user(multiple-choice) prompt with a freeform answer long enough to wrap to a second visual line, the input field drops characters and renders glitched separator artifacts at the right edge.Reproduced live 2026-06-24 in Copilot CLI v1.0.64-3 on macOS.
Observed visible artifacts (from screenshot)
Input typed:
This is what happens when a user types a multi line response, the cursor gets stuck to the edge of the screen and cant be moved by the arrows or mouse and the right edge glitches a bit.Rendered by CLI:
TinThisis missing; text starts athis is what.the cursorbecamehe cursor(thetwas eaten at the soft-wrap point between line 1 and line 2).|and||characters render at the cursor / wrap-boundary position, overlapping the choice-box border.Expected
Note on original report
This was filed thinking the bug was about choice label wrap clipping. The actual bug is in the freeform response input field — the choice labels render fine.
Related
ask_userUser input formatting issues #3722 —ask_useruser-input formatting issues (general; this may be a specific subset)question_toolrendered output on EscWhy this matters
Silent character drops can change the meaning of the user's response (and the agent acts on what was received, not what was typed). Stuck cursor means the user can't fix it after the fact.