[Bug] Claude Code CLI: TUI rendering broken and keyboard input unresponsive on macOS
Dear Claude Code team,
I'm experiencing a severe issue with the Claude Code CLI since version 1.0.61. When I launch the CLI on macOS, the TUI layout becomes broken — box characters are misaligned, and the interface appears visually corrupted. Additionally, keyboard input does not respond: I cannot type in the input field, and Shift+Tab does not toggle the plan mode as expected.
This issue persists regardless of the following configurations:
- OS: macOS (Apple Silicon)
- Terminal: Tested with both macOS Terminal and iTerm2
- TERM: xterm-256color
- Node.js versions tried: 14.15.4, 16.15.1, 18.18.2, 22.17.1, 24.3.0
- Claude CLI versions tried: 1.0.59, 1.0.60, 1.0.61 (all show the same issue)
- Even with environment variables like
FORCE_COLOR=1orTERM=xterm-color, the issue remains
This problem did not occur before I updated the Claude CLI recently. Older versions that used to work fine now show the same behavior. I'm assuming a recent regression in TUI rendering or terminal handling might be the cause.
I'd greatly appreciate it if the team could:
- Confirm whether this is a known issue
- Provide any known workarounds or planned fixes
- Let me know if I can help reproduce or debug the issue further
Thank you for your excellent work — Claude has been extremely helpful in my workflow, and I'd love to continue using the CLI.
Best regards,
Dai
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗