[Bug] AskUserQuestion panel not anchored to bottom in fullscreen TUI mode
Bug Description
Bug Report: AskUserQuestion prompt is not anchored to the bottom of the viewport in fullscreen TUI mode
Environment
- OS: Windows
- Shell: PowerShell ("defaultShell": "powershell")
- Relevant settings:
{
"tui": "fullscreen",
"spinnerTipsEnabled": false,
"effortLevel": "xhigh"
}
- Statusline: Custom statusline.js with CLAUDE_STATUSLINE_WIDTH=209
---
Steps to Reproduce
1. Set "tui": "fullscreen" in settings.json.
2. Launch Claude Code and start a normal session.
3. Trigger any flow that invokes the AskUserQuestion tool (e.g. ask the agent to present options).
4. Observe where the question panel is rendered.
---
Expected Behavior
In fullscreen TUI mode, the AskUserQuestion panel should behave like the regular input box and stay anchored to the bottom of the terminal, sitting flush against the statusline, with the conversation history scrolling above it. This matches the bottom-aligned layout used everywhere else in fullscreen mode.
Actual Behavior
The AskUserQuestion panel renders in the middle of the screen / right under the last message instead of being pushed to the bottom of the viewport. In fullscreen mode this leaves a large blank gap below the panel, and the question UI ends up "floating" in the middle of the screen, visually disconnected from the input box and statusline.
---
Impact
- Breaks the core fullscreen invariant of a stable, bottom-anchored viewport.
- Wastes vertical space — there can be many empty rows between the options panel and the statusline.
- Panel position shifts between questions, making it harder to build muscle memory for option selection.
---
Environment Info
- Platform: win32
- Terminal: windows-terminal
- Version: 2.1.119
- Feedback ID: 4185739c-0896-4cc8-8d57-cfa87c347763
Errors
[]