[Bug] AskUserQuestion popup hides last line of chat content
Bug Description
Title: AskUserQuestion popup hides the last line of chat above it
When the popup opens at the bottom of a full terminal viewport, it covers roughly the last line of preceding chat content. Paragraphs above stay visible, but the bottom-most line is gone until the user dismisses the popup or scrolls.
Repro:
1. Fill the terminal viewport (e.g. print 100 numbered lines).
2. Invoke AskUserQuestion with any question (short or long options — the popup footprint is the same; long option descriptions scroll internally rather than expanding the popup).
3. The popup opens and the very last line of prior output (line 100 in the test) is hidden behind it.
Workaround: end any content the question references with a non-load-bearing line (---, a blank line, a separator), so what gets cut off is throwaway.
Suggested fix: render the popup so it leaves the final line of preceding output visible, or shift the popup up by one line of padding.
Severity: low — paper cut, not blocking. But the fix is small and the workaround (always end with a separator) is awkward to remember.
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.139
- Feedback ID: c4e8f3d4-e094-49a9-a60e-a5e88c493100
Errors
[{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T01:29:34.916Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T01:29:52.449Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T01:33:27.915Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T01:33:51.485Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T01:35:38.942Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T01:36:10.576Z"}]This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗