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.

agent_ui: Make thread markdown editable (#43377)

Danilo Leal06f8e355979b
diff --git a/crates/agent_ui/src/acp/thread_view.rs b/crates/agent_ui/src/acp/thread_view.rs
index 780cff2e78f..93b6f749cd9 100644
--- a/crates/agent_ui/src/acp/thread_view.rs
+++ b/crates/agent_ui/src/acp/thread_view.rs
@@ -4775,7 +4775,7 @@ impl AcpThreadView {
buffer.update(cx, |buffer, cx| {
buffer.set_text(markdown, cx);
buffer.set_language(Some(markdown_language), cx);
- buffer.set_capability(language::Capability::ReadOnly, cx);
+ buffer.set_capability(language::Capability::ReadWrite, cx);
})?;
workspace.update_in(cx, |workspace, window, cx| {