Skip to content

[Bug]: Shift+Enter for Newline Not Working in Claude Code After /terminal-setup #2515

@togo01

Description

@togo01

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

  1. Open Wave Terminal and launch Claude Code (e.g., using the claude command).
  2. Run the terminal setup command: /terminal-setup
  3. Type a line of text in the prompt.
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNeeds triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions