-
Notifications
You must be signed in to change notification settings - Fork 707
Description
Bug Description
When I have 2 workspaces and one workspace has been split into multiple panes, switching workspaces via keyboard shortcut causes the sidebar to update correctly (showing the target workspace as selected), but the terminal screen content does not switch — it still displays the content from the previous workspace.
Typing commands in this state produces no visible changes on screen. However, after manually clicking the workspace button in the sidebar again, the terminal display refreshes correctly and shows the commands that were typed blindly.
Steps to Reproduce
- Create 2 workspaces
- In one workspace, split into multiple panes
- Use keyboard shortcut to switch to the other workspace
- Observe: sidebar shows the switched workspace, but terminal content remains from the previous workspace
- Type some commands — no visible output appears
- Manually click the workspace in the sidebar — terminal now refreshes and shows the previously typed commands
Expected Behavior
When switching workspaces via keyboard shortcut, both the sidebar and the terminal content should update simultaneously.
Actual Behavior
- Sidebar updates correctly to show the target workspace
- Terminal content stays on the previous workspace's display
- Commands typed are executed but not visually rendered until manually clicking the sidebar workspace button
Screenshots
Before switching (obsidian workspace selected, multiple panes):
The sidebar highlights "obsidian" workspace. Terminal shows multiple panes with the obsidian workspace content.
After switching via shortcut (sidebar changed but terminal content stuck):
The sidebar now shows the other workspace selected, but the terminal still displays the obsidian workspace content.
Environment
- Version: cmux 0.62.2 (77) [6c203b5]
- OS: macOS