claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] shift+enter doesn't work in Warp on Macos

Open fratrik opened this issue 7 months ago • 3 comments

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

  1. Launch warp
  2. claude
  3. 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/

fratrik avatar May 01 '25 13:05 fratrik

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

max-sixty avatar May 01 '25 17:05 max-sixty

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.

m41w4r3exe avatar May 20 '25 15:05 m41w4r3exe

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 …

bennokress avatar May 30 '25 16:05 bennokress

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

fersarr avatar Jul 14 '25 17:07 fersarr

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.

github-actions[bot] avatar Oct 10 '25 10:10 github-actions[bot]

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!

fratrik avatar Oct 15 '25 14:10 fratrik

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.

github-actions[bot] avatar Oct 23 '25 14:10 github-actions[bot]