mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-26 12:17:19 +02:00
Use ctrl-r to set filter to default
This commit is contained in:
parent
49aae22a38
commit
a277f28183
1 changed files with 7 additions and 0 deletions
|
@ -2658,6 +2658,13 @@ impl TaskwarriorTuiApp {
|
||||||
self.completion_list.previous();
|
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);
|
handle_movement(&mut self.filter, input);
|
||||||
self.update_input_for_completion();
|
self.update_input_for_completion();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue