Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
terminal: Fix context menu keybindings flicker (#15771)
apricotbucket2882db5dedfb40
diff --git a/crates/terminal_view/src/terminal_view.rs b/crates/terminal_view/src/terminal_view.rsindex a724d674da1..27e5dd2481c 100644--- a/crates/terminal_view/src/terminal_view.rs+++ b/crates/terminal_view/src/terminal_view.rs@@ -211,7 +211,8 @@ impl TerminalView {cx: &mut ViewContext<Self>,) {let context_menu = ContextMenu::build(cx, |menu, _| {- menu.action("New Terminal", Box::new(NewTerminal))+ menu.context(self.focus_handle.clone())+ .action("New Terminal", Box::new(NewTerminal)).separator().action("Copy", Box::new(Copy)).action("Paste", Box::new(Paste))