macOS: Cmd+R exits Code mode, switches to Chat, and starts a new session
Steps to reproduce
- Open Claude Code Desktop on macOS.
- Start a session in Code mode with some context in it.
- Press
Cmd+R.
Expected behavior
Cmd+R is the standard macOS/Electron/browser reload shortcut. It should reload the window or be a no-op. If it triggers a destructive action, it should require confirmation first.
Actual behavior
Cmd+R exits Code mode entirely, switches to Chat mode, and starts a new session. The Code session context is abandoned with no confirmation dialog and no undo path. The mode switch is immediate and visually dramatic — this is not a subtle side effect.
Why this matters
Cmd+R is one of the strongest muscle-memory shortcuts on macOS — it fires reflexively in browsers, terminals, and Electron apps. Binding it to a compound destructive action (mode switch + context loss) creates a high-probability accident with no recovery path.
Note on #60291
#60291 mentions Cmd+R in a Claude Desktop context, but the relationship is inverted: there, Cmd+R was a workaround the user intentionally pressed to fix a blank render bug. Here, Cmd+R is the trigger for an unintended destructive action — the opposite direction.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗