AskUserQuestion options with long descriptions get visually cut off in terminal
Description
When using AskUserQuestion with options that have longer descriptions (multi-line text, tables, or detailed explanations), the rendered output in the terminal gets visually cut off at the bottom. Users cannot scroll within the AskUserQuestion component to see the full content of option descriptions.
Steps to Reproduce
- Use
AskUserQuestionwith 3-4 options where descriptions contain detailed text (e.g., 2+ lines each) - The terminal renders the options but the bottom portion is cut off
- User cannot read the full description of lower options
Expected Behavior
All option descriptions should be fully visible, or the component should allow scrolling within its bounds.
Actual Behavior
Options near the bottom of the list have their descriptions truncated/cut off. No scrolling mechanism is available within the AskUserQuestion component.
Screenshot
A user provided a screenshot showing the issue (options with tables/long descriptions being cut off at the bottom of the terminal viewport).
Workaround
Present detailed information (tables, comparisons, context) as regular markdown text before the AskUserQuestion call, and keep option labels short (max 5 words) with descriptions limited to one short sentence.
Environment
- Claude Code CLI (terminal)
- WSL2 on Windows
- Standard terminal size
🤖 Generated with Claude Code
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗