AskUserQuestion UI: long question/option text is cut off with no word wrap, unreadable

Resolved 💬 0 comments Opened Jun 10, 2026 by SalesforceRocks Closed Jun 16, 2026

Environment

  • Claude Code CLI (terminal), macOS (Darwin 24.6.0)
  • Model: Fable 5 (claude-fable-5[1m])

Description

When the AskUserQuestion tool presents long text — long option descriptions, or a markdown preview of a document the model wants confirmed — the terminal UI truncates/cuts off the text instead of wrapping it (no word wrap / "terugloop"). The content is simply unreadable: lines are cut at the dialog edge and the remainder is gone.

This makes AskUserQuestion unusable for confirming any substantial content. Combined with the separate issue that assistant text emitted before a tool call in the same turn is not rendered either, there is currently no working way to show a document and gate confirmation on it in one turn: the pre-tool text is invisible, and putting the document into the dialog itself gets it cut off.

Expected behavior

Text in the AskUserQuestion dialog — questions, option descriptions, and any previews — should soft-wrap to the terminal width, and the dialog should be scrollable if the wrapped content exceeds the visible height.

Steps to reproduce

  1. Start an interactive Claude Code session in a terminal.
  2. Have the model call AskUserQuestion with a long question or long option descriptions (e.g. a multi-paragraph markdown preview).
  3. Observe: the text is cut off at the dialog edge with no word wrap, making it unreadable.

🤖 Generated with Claude Code

View original on GitHub ↗