[BUG] macOS system shortcuts (Cmd+H, Cmd+M) not working when Claude panel is focused
Resolved 💬 11 comments Opened Nov 25, 2025 by sidwiesner Closed Mar 25, 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?
On macOS, system shortcuts like Cmd+H (hide window) and Cmd+M (minimize window) work correctly throughout VSCode, but do not work when the Claude Code panel is focused.
What Should Happen?
Expected behavior:
- Cmd+H should hide the VSCode window
- Cmd+M should minimize the VSCode window
Actual behavior: Nothing happens. The shortcuts appear to be captured/swallowed by the Claude webview. Additional context:
- Both shortcuts work correctly when any other part of VSCode is focused (editor, file explorer, etc.)
- Neither shortcut appears in VSCode's keyboard shortcuts list, suggesting the webview is intercepting them before VSCode processes them
- This affects standard macOS window management workflows
Error Messages/Logs
Steps to Reproduce
Steps to reproduce:
- Open VSCode with Claude Code extension installed
- Open the Claude Code panel
- Click in the Claude panel to focus it
- Press Cmd+H or Cmd+M
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.53
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information
VS Code Environment:
Version: 1.106.2 (Universal)
Commit: 1e3c50d64110be466c0b4a45222e81d2c9352888
Date: 2025-11-19T16:56:50.023Z
Electron: 37.7.0
ElectronBuildId: 12781156
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.1.0
This issue has 11 comments on GitHub. Read the full discussion on GitHub ↗