Use ctrl-r to set filter to default

This commit is contained in:
Dheepak Krishnamurthy 2021-04-30 13:44:49 -06:00
parent 49aae22a38
commit a277f28183

View file

@ -2658,6 +2658,13 @@ impl TaskwarriorTuiApp {
self.completion_list.previous();
}
}
Key::Ctrl('r') => {
self.filter.update("", 0);
for c in self.config.filter.chars() {
self.filter.insert(c, 1);
}
self.dirty = true;
}
_ => {
handle_movement(&mut self.filter, input);
self.update_input_for_completion();