From 5a96fcb4da8cc8846dc77b779fc8011c74015290 Mon Sep 17 00:00:00 2001 From: Isaac Mills Date: Tue, 29 Jul 2025 14:41:21 -0600 Subject: [PATCH] Add forecast support --- thecockpit/src/web/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/thecockpit/src/web/mod.rs b/thecockpit/src/web/mod.rs index 16d0d6b..7c530f7 100644 --- a/thecockpit/src/web/mod.rs +++ b/thecockpit/src/web/mod.rs @@ -53,6 +53,8 @@ pub fn run(grid_id: &str) { move |event| match event.code { KeyCode::Left => app.borrow_mut().prev_tab(), KeyCode::Right => app.borrow_mut().next_tab(), + KeyCode::Up => app.borrow_mut().prev_item(), + KeyCode::Down => app.borrow_mut().next_item(), KeyCode::Char(c) => app.borrow_mut().add_char_to_number_guess(c), _ => {} }