Plan approval dialog overlaps markdown table content in wide terminals
Description
The plan approval selection menu ("Would you like to proceed?") renders on top of markdown table content instead of below it, making both the table and the menu options unreadable.
Steps to Reproduce
- Use a wide terminal (e.g., 204 columns)
- Have Claude write a plan that includes a markdown table (e.g., a file/action table with 10+ rows)
- When the plan approval dialog appears, scroll down with arrow keys
Expected Behavior
The selection menu should render cleanly below the plan content, without overlapping the table.
Actual Behavior
- Large empty space appears above the table content
- The 4-option selection menu ("Yes and bypass permissions", "Yes, manually approve edits", etc.) overlays directly on top of table rows
- Arrow key navigation moves the highlight but the menu text clashes with table cell text
- The TUI doesn't reclaim scrolled-off space properly
Screenshots
Before pressing down arrow — excessive empty space, table at bottom:
The plan renders with a large gap between the text content and the table. The selection menu is not visible until scrolling.
After pressing down arrow — menu overlaps table rows:
The "Would you like to proceed?" dialog and its 4 options render directly on top of the table rows (around rows 6-9 of an 11-row table), making both unreadable. Options 1-4 are interleaved with table cell content.
Environment
- Terminal size: 204×54
- OS: macOS (Darwin 24.6.0)
- Shell: bash
- Claude Code: latest
Notes
Likely an Ink (React-for-CLI) rendering issue with absolutely-positioned selection menus over scrollable markdown content. Narrower terminals (~120 cols) reduce the severity but don't eliminate it.
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗