We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9353849 commit 52565e5Copy full SHA for 52565e5
tui/src/filter.rs
@@ -164,4 +164,8 @@ impl Filter {
164
self.search_input.remove(current);
165
}
166
167
+ pub fn clear_search(&mut self) {
168
+ self.search_input.clear();
169
+ self.input_position = 0;
170
+ }
171
tui/src/state.rs
@@ -783,6 +783,7 @@ impl AppState {
783
0usize,
784
)];
785
self.selection.select(Some(0));
786
+ self.filter.clear_search();
787
self.update_items();
788
789
0 commit comments