From 0d38060b1bd0bcace22ce17933e2c614f01f2234 Mon Sep 17 00:00:00 2001 From: Meredith Doan Date: Tue, 10 Feb 2026 16:20:16 -0700 Subject: [PATCH] reset exercise index to 0 after reset --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 2e465138..0b9c7667 100644 --- a/src/main.rs +++ b/src/main.rs @@ -180,6 +180,7 @@ fn main() -> Result { let n_exercises = app_state.exercises().len(); for ind in 0..n_exercises { app_state.reset_exercise_by_ind(ind)?; + app_state.set_current_exercise_ind(0); } println!("All exercises have been reset"); } else {