AskUserQuestion widget overlaps preceding output when content above is long

Resolved 💬 2 comments Opened Mar 25, 2026 by att14 Closed Mar 25, 2026

Description

When AskUserQuestion is invoked after a large block of output, the question widget renders at the bottom of the terminal viewport and physically overlaps the last several lines of the preceding output. Those lines become unreadable with no way to scroll back — the widget captures input focus and the obscured text is gone.

Repro

Ask Claude to do a multi-step interactive task (e.g., a code review with per-file questions). After Claude outputs a long block of analysis text, it calls AskUserQuestion. The widget appears and covers the bottom N lines of that output — exactly the lines the user needs to read before answering.

The issue is more pronounced when:

  • The preceding output contains code blocks or detailed analysis
  • The terminal window is shorter
  • The options have description fields (taller widget = more overlap)

Expected behavior

The terminal should scroll so the question widget appears below all preceding output, or the output should be preserved and scrollable while the widget is active.

Actual behavior

The widget overlaps the last N lines of preceding output. Those lines are permanently obscured for the duration of the prompt.

Workaround

None currently. Adding blank lines or <br> tags before the tool call does not help.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗