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), _ => {} }