[BUG] Enter key creates newline instead of sending message in Code tab

Status Closed — duplicate
Maintainer reply None cached
Activity 3 comments · opened Aug 8, 2026 · closed Aug 15, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Description:
In the Claude Code desktop app, the Enter key does not send the message when typing in the Code tab. Instead, it inserts a new line. The same Enter key correctly sends messages in the Chat and Cowork tabs.

OS: Windows 11
Claude Code desktop app (auto-updates channel: latest)
Model: Sonnet

What Should Happen?

Actual behavior:
Enter inserts a new line. Must click the send button with the mouse to submit.

Things already tried (none worked):

~/.claude/keybindings.json with "enter": "chat:submit" under Chat context
Shift+Tab (chat:cycleMode) to toggle mode
Ctrl+Enter
Alt+Enter
Environment:

Error Messages/Logs

Steps to Reproduce

Steps to reproduce:

Open Claude Code desktop app
Switch to the Code tab
Type any message in the input field
Press Enter
Observe: a new line is inserted instead of the message being sent
Expected behavior:
Enter should send the message (consistent with Chat and Cowork tabs).

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

v2.1.183

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗