/clear inconsistently syncs to remote control session in Claude for Desktop
Resolved 💬 3 comments Opened Feb 27, 2026 by samkorn Closed Feb 27, 2026
Description
When using Claude Code CLI with a remote control session connected to Claude for Desktop, /clear behaves inconsistently — one clear works but a subsequent one does not, leaving stale messages visible in the Desktop app that cannot be removed.
Reproduction
- Start a Claude Code CLI session
- Start a remote control session (so Claude for Desktop can connect)
- Run
/clear - Run a command (e.g.,
echo hello world) - Run
/clearagain - Open the remote control session in Claude for Desktop
Observed behavior
- The first
/clearworked: nothing before theecho hello worldis visible in Desktop - The second
/cleardid NOT work: thehello worldoutput is still visible in Desktop - Reloading with Cmd+R in Claude for Desktop does not clear it either
- The stale content persists indefinitely
Expected behavior
Both /clear commands should be reflected in the remote control session. After the second /clear, Claude for Desktop should show a clean slate.
Environment
- Claude Code CLI + Claude for Desktop remote control session
- macOS 15 (Darwin 25.3.0)
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗