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.

Show cursors sligthly longer

Conrad Irwinaf30a9b81418
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs
index b31dd54208a..9c7e1e1f10f 100644
--- a/crates/editor/src/editor.rs
+++ b/crates/editor/src/editor.rs
@@ -3907,7 +3907,7 @@ impl Editor {
self.show_cursor_names = true;
cx.notify();
cx.spawn(|this, mut cx| async move {
- cx.background_executor().timer(Duration::from_secs(2)).await;
+ cx.background_executor().timer(Duration::from_secs(3)).await;
this.update(&mut cx, |this, cx| {
this.show_cursor_names = false;
cx.notify()