[Bug] Shift+Enter Line Break Functionality Broken on Linux
Status Closed — not planned
Maintainer reply None cached
Workaround ✓ Mentioned in thread ↓
Activity 6 comments · opened Aug 23, 2025 · closed Feb 8, 2026
Bug Description
Shift enter does not work on linux
The moment I pressed enter it immediately send the prompt
Environment Info
- Platform: linux
- Terminal: vte-based
- Version: 1.0.89
- Feedback ID: 2c5caf9b-74a6-4eac-8736-4e79c4849059
Errors
[]
6 Comments
Same for me on mac. I tried to change settings with command /terminal-setup in claude but it didn't help. I couldn't find documentation for this command either. There is no option for this command I can enable or disable.
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.
Workaround for Alacritty Users on Linux
If you're using Alacritty on Linux, here's a working solution:
Manual Keybinding Fix
Add this to
~/.config/alacritty/alacritty.toml:Then restart Alacritty.
Confirmed Working On
This bypasses the
/terminal-setupcommand entirely and manually configures Shift+Enter to send a newline character.Shift+Enter works currently (2.1.1) in Ghostty on Linux, and several other terminal types https://github.com/anthropics/claude-code/issues/12576#issuecomment-3724556924
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
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.