[BUG] Claude Code 2.0.63 UI rendering broken + keyboard navigation not working on Ubuntu 24.04 via SSH
Open 💬 6 comments Opened Dec 9, 2025 by iMateo
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Fresh install of Claude Code 2.0.63 on Ubuntu 24.04 via SSH has two critical issues:
- UI rendering completely broken on startup — All UI elements (menu items, text, ASCII art logo) render at wrong coordinates, scattered randomly across the terminal. Claude Code fails to detect terminal dimensions correctly on initial launch. Resizing the terminal window triggers re-render and fixes layout.
- Keyboard navigation non-functional — After fixing layout via resize, arrow keys still don't work for menu navigation (theme selector, etc.). Number keys and vim-style keys (j/k) also don't respond.
See attached screenshots showing the progression.
What Should Happen?
- UI should render correctly on startup, respecting terminal dimensions
- Arrow keys and keyboard navigation should work for menu selection
Error Messages/Logs
No error messages — the UI simply renders incorrectly and keyboard input is ignored.
Terminal diagnostics show everything is correct:
$ stty size → 52 140
$ echo $TERM → xterm-256color
$ locale → en_US.UTF-8
Node.js receives correct key codes:
$ node -e "process.stdin.setRawMode(true); process.stdin.on('data', d => console.log([...d])); process.stdin.resume();"
Arrow up outputs: [ 27, 91, 65 ] ✓
Steps to Reproduce
- Fresh Ubuntu 24.04 LTS server
- Install Node.js 20.x via NodeSource
- Install Claude Code:
npm install -g @anthropic-ai/claude-code@2.0.63 - SSH into server from macOS (iTerm2 or Terminal.app)
- Run
claude - Observe: UI is broken, text scattered across screen (Screenshot 1)
- Resize terminal window → layout fixes (Screenshot 2)
- Try arrow keys to navigate theme selector → nothing happens
- Downgrade:
npm install -g @anthropic-ai/claude-code@2.0.62 - Run
claude→ everything works (Screenshot 3)
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.0.62
Claude Code Version
2.0.63
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
iTerm2
Additional Information
<img width="2880" height="1558" alt="Image" src="https://github.com/user-attachments/assets/9d0d2221-236d-408f-b651-8e78d5ed99c6" />
<img width="2800" height="1566" alt="Image" src="https://github.com/user-attachments/assets/fa1710fc-81ff-40dd-a002-87f86bd369d2" />
<img width="1441" height="782" alt="Image" src="https://github.com/user-attachments/assets/7780f037-e999-44f7-84b8-70ab1231134b" />
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗