diff --git a/dashboard/src/app.rs b/dashboard/src/app.rs index 256de36..8c6ca85 100644 --- a/dashboard/src/app.rs +++ b/dashboard/src/app.rs @@ -186,6 +186,14 @@ impl Dashboard { } } } + KeyCode::Tab => { + debug!("Tab pressed - next host"); + 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); + } + } + } _ => {} } } diff --git a/dashboard/src/ui/mod.rs b/dashboard/src/ui/mod.rs index c8b2986..628c55a 100644 --- a/dashboard/src/ui/mod.rs +++ b/dashboard/src/ui/mod.rs @@ -112,6 +112,9 @@ impl TuiApp { info!("Manual refresh requested"); // Refresh will be handled by main loop } + KeyCode::Tab => { + self.navigate_host(1); // Tab cycles to next host + } _ => {} } }