/clear command hangs in desktop app despite completing successfully

Resolved 💬 3 comments Opened Apr 9, 2026 by adamcataldo Closed Apr 9, 2026

Description

When running /clear in the Claude Code desktop app, the command appears to hang indefinitely even though it successfully clears the conversation. The user must press Stop to regain control, after which they can see the conversation was indeed cleared.

Steps to Reproduce

  1. Open Claude Code in the desktop app
  2. Have a conversation with some history
  3. Run /clear
  4. Observe that the UI hangs / spinner never completes
  5. Press Stop — conversation is actually cleared

Expected Behavior

/clear should complete and return control to the user promptly, as it does in the CLI.

Actual Behavior

The command hangs after clearing. The user must manually press Stop to continue. The clear itself succeeds — it's only the UI that doesn't recognize completion.

Environment

  • Platform: macOS (Darwin 25.4.0)
  • Interface: Claude Code desktop app
  • CLI behavior: Works correctly (no hang)

View original on GitHub ↗

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