Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
acp: Don't display failed terminal call on display only terminals (#39780)
Ben Brandtdd3b65f7078e
diff --git a/crates/agent_ui/src/acp/thread_view.rs b/crates/agent_ui/src/acp/thread_view.rsindex 7d8fdcb9368..2f08abb600e 100644--- a/crates/agent_ui/src/acp/thread_view.rs+++ b/crates/agent_ui/src/acp/thread_view.rs@@ -2727,7 +2727,7 @@ impl AcpThreadView {let output_line_count = output.map(|output| output.content_line_count).unwrap_or(0);let command_failed = command_finished- && output.is_some_and(|o| o.exit_status.is_none_or(|status| !status.success()));+ && output.is_some_and(|o| o.exit_status.is_some_and(|status| !status.success()));let time_elapsed = if let Some(output) = output {output.ended_at.duration_since(started_at)