Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix error where terminal search matches wouldn't be updated when clearing
Mikayla Maki8e9d95fefc52
diff --git a/crates/terminal/src/terminal.rs b/crates/terminal/src/terminal.rsindex dd5c5fb3b0e..65edf1b6926 100644--- a/crates/terminal/src/terminal.rs+++ b/crates/terminal/src/terminal.rs@@ -643,6 +643,8 @@ impl Terminal {if (new_cursor.line.0 as usize) < term.screen_lines() - 1 {term.grid_mut().reset_region((new_cursor.line + 1)..);}++ cx.emit(Event::Wakeup);}InternalEvent::Scroll(scroll) => {term.scroll_display(*scroll);