Fix error where terminal search matches wouldn't be updated when clearing
This commit is contained in:
parent
d80dba1fe3
commit
8e9d95fefc
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue