Implement TUI search and mutation workflows

This commit is contained in:
Hermes Agent
2026-08-10 10:11:34 +00:00
parent c86ea9eb0e
commit ce3e4a9f79
13 changed files with 1195 additions and 93 deletions

View File

@@ -112,6 +112,12 @@ impl Sidebar {
true
}
pub fn apply_find_results(&mut self, query: &str, results: &FindResults) {
self.filter_query = query.to_owned();
self.editing_filter = false;
let _applied = self.apply_filter_results(query, results);
}
pub fn clear_filter_results(&mut self) {
let previous_index = self.selected_index().unwrap_or(0);
self.filter_query.clear();