original form fully working in the tui functions is the logic for the form

This commit is contained in:
filipriec
2025-03-30 14:24:12 +02:00
parent a0d96cb87a
commit 6e04c1f267

View File

@@ -52,7 +52,7 @@ pub async fn handle_read_only_event(
// Try to match the current sequence against Read-Only mode bindings // Try to match the current sequence against Read-Only mode bindings
if let Some(action) = config.matches_key_sequence_generalized(&sequence) { if let Some(action) = config.matches_key_sequence_generalized(&sequence) {
let result = if action == "previous_entry" && app_state.ui.show_form { let result = if (action == "previous_entry" || action == "next_entry") && app_state.ui.show_form {
crate::tui::functions::form::handle_action( crate::tui::functions::form::handle_action(
action, action,
form_state, form_state,