Fix error where terminal search matches wouldn't be updated when clearing

This commit is contained in:
Mikayla Maki committed 2023-02-14 09:54:31 -08:00
1 parent acbf7f814a
commit 84200eafc3
1 file changed
+2
+2
View File
@@ -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);