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 {