Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix bug with terminal button

Mikayla Maki0dce5ba7aed6
diff --git a/crates/workspace/src/workspace.rs b/crates/workspace/src/workspace.rs
index 2c7836e5df6..8a62a28c113 100644
--- a/crates/workspace/src/workspace.rs
+++ b/crates/workspace/src/workspace.rs
@@ -1554,6 +1554,9 @@ impl Workspace {
.map(|ix| (pane.clone(), ix))
});
if let Some((pane, ix)) = result {
+ if &pane == self.dock_pane() {
+ Dock::show(self, false, cx);
+ }
pane.update(cx, |pane, cx| pane.activate_item(ix, true, true, cx));
true
} else {