fix: do not show all tasks when filter has no matches
This commit is contained in:
parent
52be8c53eb
commit
1533676bff
1 changed files with 3 additions and 1 deletions
|
@ -730,7 +730,9 @@ async fn main() -> Result<()> {
|
|||
tasks.move_to(filtered.into_iter().next());
|
||||
} else {
|
||||
tasks.move_to(pos.cloned());
|
||||
tasks.set_view(filtered);
|
||||
if !tasks.set_view(filtered) {
|
||||
continue 'repl;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue