[BUG] Interactive mode input frozen in v2.1.34 (regression from v2.1.11)
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?
Keyboard input completely stops working in interactive mode on v2.1.34 (native installer), while v2.1.11 (npm) works correctly in the same environment.
The UI renders properly, but no keyboard input is accepted. The process is not frozen - it responds to external signals, but typing in the terminal does nothing. Even Ctrl+C doesn't work (process must be killed externally with pkill).
What Should Happen?
Keyboard input should work in interactive mode, allowing the user to type prompts and interact with Claude Code. This works correctly in v2.1.11.
Error Messages/Logs
No error messages. Debug log shows normal startup:
[REPL:mount] REPL mounted, disabled=false
[keybindings] KeybindingSetup initialized with 100 bindings, 0 warnings
[render] first ink render: 6989ms since process start
The REPL mounts successfully but input is not processed.
Steps to Reproduce
- Set up a Docker container with Node.js 22 (Debian bookworm base image)
- Install Claude Code via npm:
npm install -g @anthropic-ai/claude-code - Access the container via nested SSH + docker exec:
- Local Mac → SSH (via cloudflared proxy) → Linux host →
docker exec -it container zsh -l
- Run
claude- v2.1.11 works correctly, keyboard input accepted - Allow auto-update to v2.1.34 (or install native version via the installer)
- Run
claudeagain - UI renders but keyboard input is completely frozen
Workarounds attempted (none worked for v2.1.34):
- Set TERM=xterm-256color
- Run
stty sanebefore starting - Use tmux for proper PTY
- Use
scriptcommand - Disable focus reporting with
printf "\e[?1004l"
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.11
Claude Code Version
2.1.34 (Claude Code) - broken
2.1.11 (Claude Code) - works
Platform
Claude Pro
Operating System
Other
zsh via SSH + docker exec
Terminal/Shell
VS Code integrated terminal
Additional Information
- Non-interactive mode works:
claude --print "hello"responds correctly - Only the interactive REPL input is affected
- The issue is 100% reproducible in this environment
- Focus events (^[[I) are visible when starting, suggesting terminal focus reporting may be interfering
Working workaround: Downgrade to v2.1.11 and disable auto-update:
npm install -g @anthropic-ai/claude-code@2.1.11
echo '{"autoUpdate": false}' > ~/.claude/settings.json
This appears to be a regression in terminal/TTY handling between v2.1.11 and v2.1.34, specifically affecting nested SSH/Docker environments.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗