/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

  1. Start a Claude Code CLI session
  2. Start a remote control session (so Claude for Desktop can connect)
  3. Run /clear
  4. Run a command (e.g., echo hello world)
  5. Run /clear again
  6. Open the remote control session in Claude for Desktop

Observed behavior

  • The first /clear worked: nothing before the echo hello world is visible in Desktop
  • The second /clear did NOT work: the hello world output 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)

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗