diff --git a/client/src/modes/general/dialog.rs b/client/src/modes/general/dialog.rs index 79e81c6..fe5041b 100644 --- a/client/src/modes/general/dialog.rs +++ b/client/src/modes/general/dialog.rs @@ -23,7 +23,7 @@ pub async fn handle_dialog_event( // Check general bindings for dialog actions if let Some(action) = config.get_general_action(key.code, key.modifiers) { match action { - "move_up" | "previous_option" => { + "move_down" | "next_option" => { let current_index = app_state.ui.dialog.dialog_active_button_index; let num_buttons = app_state.ui.dialog.dialog_buttons.len(); if num_buttons > 0 && current_index < num_buttons - 1 { @@ -31,7 +31,7 @@ pub async fn handle_dialog_event( } return Some(Ok(EventOutcome::Ok(String::new()))); } - "move_down" | "next_option" => { + "move_up" | "previous_option" => { let current_index = app_state.ui.dialog.dialog_active_button_index; if current_index > 0 { app_state.ui.dialog.dialog_active_button_index -= 1;