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 Terminal focus handlers not being called (#7428)

Thorsten Ballc591681bad39
diff --git a/crates/terminal_view/src/terminal_view.rs b/crates/terminal_view/src/terminal_view.rs
index 006ffb9d794..3b9f4333bfc 100644
--- a/crates/terminal_view/src/terminal_view.rs
+++ b/crates/terminal_view/src/terminal_view.rs
@@ -311,7 +311,7 @@ impl TerminalView {
workspace: workspace_handle,
has_new_content: true,
has_bell: false,
- focus_handle: cx.focus_handle(),
+ focus_handle,
context_menu: None,
blink_state: true,
blinking_on: false,