[BUG] Enter key does not submit prompt in Claude Code CLI on Windows 11

Resolved 💬 3 comments Opened Apr 21, 2026 by KatarsisOz Closed May 28, 2026

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

  1. Open a terminal (Git Bash on Windows 11)
  2. Run claude
  3. Type any message
  4. Press Enter
  5. 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

  1. Type any message using the keyboard
  2. Press Enter (neither Enter nor Shift+Enter submits the prompt)
  3. The cursor moves to a new line instead of sending
  4. 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_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗