claude-code - 💡(How to fix) Fix [BUG] Windows 11: approval dialog shows Mac shortcut symbol (⌘↵) instead of Ctrl+Enter [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#56344Fetched 2026-05-06 06:30:39
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×4commented ×1

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

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

What's Wrong?

Platform: Windows 11 Pro (10.0.26200) Claude Code: Desktop app (Windows)

Bug: The permission approval dialog displays the Mac Command key shortcut ⌘↵ on Windows. It should display Ctrl+Enter.

The correct key (Ctrl+Enter) still works — the label is wrong, not the binding. This appears to be a platform detection regression; earlier versions of Claude Code displayed the correct Windows shortcut.

Screenshot: attached

Steps to reproduce:

  1. Run Claude Code on Windows 11
  2. Trigger any action that requires approval (e.g. a file edit)
  3. Observe the "Allow once" button shows ⌘↵ instead of Ctrl+Enter
<img width="823" height="221" alt="Image" src="https://github.com/user-attachments/assets/643b01f9-a1aa-4d57-b556-e93df35dbd07" />

What Should Happen?

Ctrl + Enter should be the prompted button input

Error Messages/Logs

Steps to Reproduce

require approval for any command whilst using claude code desktop app, using a windows computer

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

Claude 1.5354.0 (9a9e3d) 2026-04-29T01:14:34.000Z

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

No response

extent analysis

TL;DR

The issue can likely be fixed by updating the platform detection logic in Claude Code to correctly display the Ctrl+Enter shortcut on Windows.

Guidance

  • Verify that the issue is indeed a regression by checking the version history of Claude Code to see when the Mac Command key shortcut ⌘↵ started being displayed on Windows.
  • Check the code responsible for displaying the shortcut in the permission approval dialog to see if it correctly handles platform detection.
  • Consider adding a platform-specific check to display the correct shortcut (Ctrl+Enter on Windows, ⌘↵ on Mac).
  • Test the fix on both Windows and Mac platforms to ensure the correct shortcut is displayed.

Example

No code snippet is provided as the issue does not include specific code details.

Notes

The issue appears to be a regression, and the fix may involve updating the platform detection logic in Claude Code. However, without access to the codebase, it is difficult to provide a more specific solution.

Recommendation

Apply a workaround by manually updating the shortcut display logic in the permission approval dialog to show Ctrl+Enter on Windows, as this is a known regression and the correct binding still works.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Windows 11: approval dialog shows Mac shortcut symbol (⌘↵) instead of Ctrl+Enter [1 comments, 2 participants]