Preflight Checklist
What's Wrong?
Starting with version 2.0.43, Claude Code's interactive TUI renders the welcome screen but immediately exits with code 0. Non-interactive mode (claude -p) works perfectly.
Debug observations:
- Shell snapshot creation completes successfully
- All initialization completes without errors
- TUI renders correctly
- stdin/stdout/stderr are all TTYs
claude -p "test" works perfectly
- Issue is specific to interactive TUI event loop
Terminal capabilities confirmed working:
- TERM=xterm-256color
- All terminfo entries present
- stdin/stdout are TTYs
- No environment variable issues
What Should Happen?
TUI should remain interactive and wait for user input.
Error Messages/Logs
Steps to Reproduce
- Install Claude Code 2.0.43 or later on RHEL 8
- Run
claude in any directory
- Welcome screen appears briefly then process exits immediately
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.0.42
Claude Code Version
2.0.43, 2.0.49 (latest as of this ticket)
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
Other
Additional Information
No response
Preflight Checklist
What's Wrong?
Starting with version 2.0.43, Claude Code's interactive TUI renders the welcome screen but immediately exits with code 0. Non-interactive mode (claude -p) works perfectly.
Debug observations:
claude -p "test"works perfectlyTerminal capabilities confirmed working:
What Should Happen?
TUI should remain interactive and wait for user input.
Error Messages/Logs
Steps to Reproduce
claudein any directoryClaude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.0.42
Claude Code Version
2.0.43, 2.0.49 (latest as of this ticket)
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
Other
Additional Information
No response