[BUG] Enter key does not submit prompt in Claude Code CLI on Windows 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?
Description
Pressing Enter in the Claude Code CLI does not submit the prompt. The cursor moves to a new line instead of sending the message. This makes the CLI completely unusable from the terminal.
Environment
- OS: Windows 11 Home Single Language, build 10.0.26200
- Shell: bash (Git Bash)
- Claude Code version: 2.1.116
Steps to reproduce
- Open a terminal (Git Bash on Windows 11)
- Run
claude - Type any message
- Press Enter
- The prompt does not send — cursor moves to a new line
What Should Happen?
Expected behavior
Pressing Enter submits the prompt and Claude responds.
Actual behavior
Enter creates a new line instead of submitting. The CLI is stuck and the only way to interact is via the VS Code extension.
Workaround
Using the Claude Code VS Code extension works correctly. The issue is specific to the terminal CLI.
Additional context
This may be related to how the CLI handles keyboard input in Windows native terminals. Shift+Enter and other combinations also do not submit.
Error Messages/Logs
Steps to Reproduce
- Type any message using the keyboard
- Press Enter (neither Enter nor Shift+Enter submits the prompt)
- The cursor moves to a new line instead of sending
- The only way to exit is Ctrl+C
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.116
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗