[Bug]: Shift+Enter for Newline Not Working in Claude Code After `/terminal-setup`
Current Behavior
When running Claude Code within Wave Terminal, the ability to insert a newline using the $\text{Shift}+\text{Enter}$ shortcut is not functional, even after running the built-in Claude Code command /terminal-setup.
The /terminal-setup command is designed to configure the terminal for optimal use with Claude Code, and on other terminal applications (like iTerm or VS Code's integrated terminal), this typically enables $\text{Shift}+\text{Enter}$ for multi-line input before submitting the prompt.
However, in Wave Terminal, pressing $\text{Shift}+\text{Enter}$ acts as if only $\text{Enter}$ was pressed—it submits the current prompt immediately instead of adding a new line.
Expected Behavior
This issue seems specific to how Wave Terminal handles keyboard events, particularly the combination of $\text{Shift}+\text{Enter}$, potentially conflicting with the settings applied by Claude Code's /terminal-setup script.
Steps To Reproduce
- Open Wave Terminal and launch Claude Code (e.g., using the
claudecommand). - Run the terminal setup command:
/terminal-setup - Type a line of text in the prompt.
- Press $\text{Shift}+\text{Enter}$.
- Observed Behavior: The prompt is immediately submitted to Claude Code.
- Expected Behavior: A new line should be inserted, allowing the user to type a multi-line prompt before final submission (which usually happens with $\text{Enter}$ or $\text{Ctrl}+\text{Enter}$).
Wave Version
0.12.1 (202510210631)
Platform
macOS
OS Version/Distribution
26.0(25A354)
Architecture
arm64
Anything else?
No response
Questionnaire
- [ ] I'm interested in fixing this myself but don't know where to start
- [ ] I would like to fix and I have a solution
- [ ] I don't have time to fix this right now, but maybe later
#2523
should be working thanks to your PR!