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.

Scroll to bottom when reloading ACP agent threads (#52843)

Eric Holkbf79e32622fd
diff --git a/crates/agent_ui/src/conversation_view.rs b/crates/agent_ui/src/conversation_view.rs
index c13b6d29f92..2231f421bc2 100644
--- a/crates/agent_ui/src/conversation_view.rs
+++ b/crates/agent_ui/src/conversation_view.rs
@@ -840,6 +840,8 @@ impl ConversationView {
if let Some(scroll_position) = thread.read(cx).ui_scroll_position() {
list_state.scroll_to(scroll_position);
+ } else {
+ list_state.set_follow_tail(true);
}
AgentDiff::set_active_thread(&self.workspace, thread.clone(), window, cx);