navigation of views is now easier

This commit is contained in:
Hermes Agent
2026-08-16 20:36:22 +00:00
parent 93fb3fcdb1
commit 7c0f5a2e0a
4 changed files with 34 additions and 4 deletions

View File

@@ -301,8 +301,8 @@ impl App {
self.search.clone(),
false,
),
KeyCode::Char(']') => self.switch_view(1)?,
KeyCode::Char('[') => self.switch_view(-1)?,
KeyCode::Char('l') | KeyCode::Char(']') => self.switch_view(1)?,
KeyCode::Char('h') | KeyCode::Char('[') => self.switch_view(-1)?,
KeyCode::Delete => self.discard_or_restore()?,
KeyCode::Esc if !self.search.is_empty() => {
self.search.clear();