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

This commit is contained in:
Mikayla Maki 2023-02-14 09:54:31 -08:00
parent d80dba1fe3
commit 8e9d95fefc

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);