fix(tui): allow navigating filtered results after searching
enter now confirms the search and returns focus to the list so items can be selected, toggled, etc. pressing / returns to the search bar with the query intact, esc clears it.
This commit is contained in:
1 parent
7c1de45a2a
commit
aa19e5bde1
6 files changed
+32
No files matched your search
@@ -15,6 +15,9 @@ impl App {
|
||||
if self.focused == FocusedArea::OverviewExpanded {
|
||||
if self.log_overlay_search.active {
|
||||
match key_event.code {
|
||||
KeyCode::Enter => {
|
||||
self.log_overlay_search.confirm();
|
||||
}
|
||||
KeyCode::Esc => {
|
||||
self.log_overlay_search.deactivate();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user