claude-code - 💡(How to fix) Fix [BUG] ⌘ shown in interactive "approval" prompts on Windows, instead of Ctrl [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#53077Fetched 2026-04-25 06:12:58
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×4closed ×1commented ×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?

In the "Code" view of the Claude Desktop application, on Windows, the keyboard shortcuts should reflect the actual Windows keyboard shortcuts.

In the current state, the keyboard shortcuts indicate what would be the "Alt" key on a Windows keyboard (the standard 'command key' placement), but the shortcut is actually "Ctrl".

What Should Happen?

These interactive approval prompts, on Windows, should correctly show a Ctrl key hint instead of the Apple ⌘ key.

Error Messages/Logs

Steps to Reproduce

  1. In the Claude Desktop application, on Windows, switch to the Code view.
  2. In a session, do something that will get the agent to prompt for user approval.
  3. Note the ⌘ in the keyboard shortcut(s) shown on the approval action buttons.
  4. ⌘ on a Windows keyboard translates to the Alt key; try the specified keyboard shortcut using the Alt key. Note that this does not work.
  5. Now try the keyboard shortcut using the Ctrl key instead of Alt (in place of the ⌘), and note that it does work.

Claude Model

Not sure / Multiple models

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

Claude 1.4758.0 (fb266c) 2026-04-24T20:22:30.000Z

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

<img width="779" height="309" alt="Image" src="https://github.com/user-attachments/assets/e0b19659-fd8d-4f7c-9ad5-55c5723097c8" />

extent analysis

TL;DR

Update the keyboard shortcut hints in the Code view to display "Ctrl" instead of "⌘" for Windows users.

Guidance

  • Verify that the issue is specific to the Windows platform and the Claude Desktop application's Code view.
  • Check the application's configuration or code for any platform-specific keyboard shortcut settings that may need to be updated.
  • Test the keyboard shortcuts using both the Alt and Ctrl keys to confirm the correct functionality.
  • Consider adding platform-specific logic to display the correct keyboard shortcut hints based on the user's operating system.

Example

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

Notes

The issue may be related to a configuration or code setting that is not properly handling platform-specific keyboard shortcuts. Further investigation is needed to determine the root cause.

Recommendation

Apply a workaround by updating the keyboard shortcut hints to display "Ctrl" instead of "⌘" for Windows users, as this has been confirmed to be the correct functionality.

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] ⌘ shown in interactive "approval" prompts on Windows, instead of Ctrl [1 comments, 2 participants]