Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix some action registrations
Conrad Irwind678efe7ddd0
diff --git a/crates/gpui2/src/action.rs b/crates/gpui2/src/action.rsindex bf03c87ae92..54682a30ef9 100644--- a/crates/gpui2/src/action.rs+++ b/crates/gpui2/src/action.rs@@ -183,6 +183,8 @@ macro_rules! impl_actions {Ok(std::boxed::Box::new(gpui::serde_json::from_value::<Self>(value)?))});++ gpui::register_action!($name);)*};}diff --git a/crates/terminal_view2/src/terminal_panel.rs b/crates/terminal_view2/src/terminal_panel.rsindex 3d88b89d9b9..fa266ceb6cf 100644--- a/crates/terminal_view2/src/terminal_panel.rs+++ b/crates/terminal_view2/src/terminal_panel.rs@@ -24,7 +24,7 @@ use anyhow::Result;const TERMINAL_PANEL_KEY: &'static str = "TerminalPanel";-actions!(terminal_view, [ToggleFocus]);+actions!(terminal_panel, [ToggleFocus]);pub fn init(cx: &mut AppContext) {cx.observe_new_views(