fix: do not show all tasks when filter has no matches

This commit is contained in:
xeruf 2024-10-14 16:39:44 +02:00
parent 52be8c53eb
commit 1533676bff
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}
}
}
}