Shift+Enter no longer inserts newline in prompt
Resolved 💬 4 comments Opened Mar 6, 2026 by AceFire2014 Closed Mar 6, 2026
Bug Description
Shift+Enter no longer inserts a newline in the Claude Code prompt input. Pressing Shift+Enter now behaves the same as Enter (submits the message) instead of inserting a newline.
This used to work correctly in previous versions.
Environment
- Claude Code: 2.1.70
- OS: macOS 26.2
- Terminal: VS Code integrated terminal (1.109.4)
- Shell: zsh
- tmux: 3.4 (Claude Code runs inside tmux)
- Node: v22.14.0
- No custom keybindings configured (
~/.claude/keybindings.jsondoes not exist)
Steps to Reproduce
- Open Claude Code in VS Code integrated terminal (inside tmux)
- Type some text in the prompt
- Press Shift+Enter to insert a newline
- Expected: A newline is inserted in the prompt
- Actual: The message is submitted instead
Additional Context
- No conflicting tmux key bindings for Shift+Enter
- Alt+Enter behavior is also the same (submits instead of newline)
- No custom keybindings in
~/.claude/settings.json
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗