We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd33c29 commit eff2ce8Copy full SHA for eff2ce8
src/watch/state.rs
@@ -269,6 +269,9 @@ impl<'a> WatchState<'a> {
269
}
270
271
pub fn check_all_exercises(&mut self, stdout: &mut StdoutLock) -> Result<ExercisesProgress> {
272
+ // Ignore any input until checking all exercises is done.
273
+ let _input_pause_guard = InputPauseGuard::scoped_pause();
274
+
275
if let Some(first_pending_exercise_ind) = self.app_state.check_all_exercises(stdout)? {
276
// Only change exercise if the current one is done.
277
if self.app_state.current_exercise().done {
0 commit comments