-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Description
Environment
Platform (select one):
Anthropic API
AWS Bedrock
Google Vertex AI
Other: Claude CLI
Claude CLI version: 1.0.2 (Claude Code)
Operating System: Windows 10 (10.0.19045.3803)
Terminal: Windows Terminal (WSL)
WSL version: 2.4.13.0
Kernel version: 5.15.167.4-1
WSLg version: 1.0.65
Shell: bash
Bug Description
Pressing Shift+Enter inside Claude CLI running in WSL on Windows 10 does not insert a new line. Instead, it behaves the same as pressing Enter, which prematurely submits the current input. This prevents users from writing multiline prompts or code blocks.
Steps to Reproduce
Open Claude CLI (claude) in WSL (bash shell) using Windows Terminal
Start typing a multiline prompt or code
Press Shift+Enter expecting a newline
Input is submitted instead of moving to the next line
Expected Behavior
Shift+Enter should insert a new line, allowing users to write properly formatted multiline input without submitting prematurely.
Actual Behavior
Shift+Enter submits the input, just like Enter, making multiline prompts impossible.
Additional Context
This affects productivity when writing structured prompts or code snippets.
Reproducible consistently on a clean WSL 2 environment with Windows 10.
Would be helpful to support standard multiline input behavior.