Skip to content

Terminal surface goes blank after task completes until workspace switch #2817

@zach841

Description

@zach841

Description

After a Claude Code task completes in a workspace, the terminal surface clears/goes blank. The content does not reappear until I switch to a different workspace (or click another window) and then switch back. This happens consistently after every task completion.

This appears to be the same class of bug as #1789 (terminal surfaces go blank on workspace switch), which was closed but is still reproducing on v0.63.2 as noted by a commenter there.

Steps to Reproduce

  1. Open cmux with a Claude Code session running in a workspace
  2. Give Claude a task and let it run to completion
  3. When the task finishes, the terminal pane goes blank — no content rendered
  4. Switch to a different window/workspace, then switch back
  5. Content reappears

Expected Behavior

Terminal surface should remain rendered after a task completes without requiring a focus round-trip.

Environment

  • cmux: 0.63.2 (build 79, commit 179b16c)
  • macOS: Darwin 25.2.0 (Tahoe)
  • Architecture: arm64 (Apple Silicon)

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions