diff --git a/dashboard/src/app.rs b/dashboard/src/app.rs index 10ed9a2..5d171a8 100644 --- a/dashboard/src/app.rs +++ b/dashboard/src/app.rs @@ -184,13 +184,37 @@ impl Dashboard { } } KeyCode::Tab => { - debug!("Tab pressed - next host"); + debug!("Tab pressed - next host or panel switch"); if let Some(ref mut tui_app) = self.tui_app { if let Err(e) = tui_app.handle_input(Event::Key(key)) { error!("Error handling tab navigation: {}", e); } } } + KeyCode::BackTab => { + debug!("BackTab pressed - panel switch"); + if let Some(ref mut tui_app) = self.tui_app { + if let Err(e) = tui_app.handle_input(Event::Key(key)) { + error!("Error handling backtab navigation: {}", e); + } + } + } + KeyCode::Up => { + debug!("Up arrow pressed - scroll up"); + if let Some(ref mut tui_app) = self.tui_app { + if let Err(e) = tui_app.handle_input(Event::Key(key)) { + error!("Error handling up navigation: {}", e); + } + } + } + KeyCode::Down => { + debug!("Down arrow pressed - scroll down"); + if let Some(ref mut tui_app) = self.tui_app { + if let Err(e) = tui_app.handle_input(Event::Key(key)) { + error!("Error handling down navigation: {}", e); + } + } + } _ => {} }, Ok(_) => {} // Other events (mouse, resize, etc.)