[BUG] Pressing Enter not running command - just adding a new line
Resolved 💬 3 comments Opened Jun 25, 2025 by sprintweb Closed Jan 4, 2026
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.33
- Operating System: macOS 12.6
- Terminal: iTerm2
Bug Description
The Enter key is totally non-functional in Claude Code. It works everywhere else in my system, but not in Claude Code. Hitting Enter adds a new line. I've tried both iTerm2 and Terminal.
Similar problem here, but nothing described helped:
http://github.com/anthropics/claude-code/issues/436
Steps to Reproduce
- Open iTerm2
- Login to my remote server (ubuntu 24.04)
- Run claude
- Hit enter after typing command - not working, enter just adding a new line.
Expected Behavior
Hit enter and prompt starts to work.
Actual Behavior
Hit enter just adding a new line.
Additional Context
<!-- Failed to upload "image.png" -->
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗