Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
agent: Move focus to the message editor after going back (#28686)
Danilo Leal0eb0a3c7dc88
diff --git a/crates/agent/src/assistant_panel.rs b/crates/agent/src/assistant_panel.rsindex 3e53ece36c1..b5dcee9dc28 100644--- a/crates/agent/src/assistant_panel.rs+++ b/crates/agent/src/assistant_panel.rs@@ -569,6 +569,7 @@ impl AssistantPanel {ActiveView::Configuration | ActiveView::History => {self.active_view =ActiveView::thread(self.thread.read(cx).thread().clone(), window, cx);+ self.message_editor.focus_handle(cx).focus(window);cx.notify();}_ => {}