claude-code
claude-code copied to clipboard
[BUG] shift+enter doesn't work in Warp on Macos
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [x] Other: Claude code
- Claude CLI version: 0.2.94 (Claude Code)
- Operating System: macOS 15.4.1
- Terminal: warp v0.2025.04.23.08.11.stable_01
Bug Description
I added bindings to my zshrc, but I can't get shift+enter to produce multiline in the claude code interface. it works fine on the commandline
Steps to Reproduce
- Launch warp
claude- some text[shift+enter]
Expected Behavior
new line to expand the command
Actual Behavior
no newline
Additional Context
brew install --cask warp to install
https://www.warp.dev/
fwiw I've never had shift+enter create a newline
I'm using zellij & alacritty on macos
would be great if it did! I use alt+enter, which works but is different to other interfaces
using iTerm2, zsh on macos:
shift + enter used to work, now it doesn't work with 0.122 Claude Code.
Now alt + enter works but different to other interfaces.
Not a fix, but I have the same issue and what does work, is entering "" + ↩ (insert backslash and press enter). Definitely not as easy as ⇧↩, but at least better to read than an endless line …
Now alt + enter works but different to other interfaces.
Same here. alt+enter works but I'm used to shift+enter. Tried iterm2 and vs code terminal. Claude code says that running /terminal-setup will fix this but it does not.
> /terminal-setup
⎿ Installed VSCode terminal Shift+Enter key binding
See /users/is/fsaraviara/.config/Code/User/keybindings.json
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
I tested it again to see if it would work and it instructed me how to fix it!
I was in Warp, and then it told me I needed to run it from iterm2, or Mac terminal, etc. So I went into iterm2, ran it then came back into Warp and now it works!
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.