Simplify handling terminal events for unbuffered stdin

This commit is contained in:
mo8it
2024-09-05 17:12:26 +02:00
parent 2d0860fe1b
commit aa3eda70e5
2 changed files with 6 additions and 37 deletions
-1
View File
@@ -95,7 +95,6 @@ fn run_watch(
break;
}
WatchEvent::Input(InputEvent::Run) => watch_state.run_current_exercise(&mut stdout)?,
WatchEvent::Input(InputEvent::Unrecognized) => watch_state.render(&mut stdout)?,
WatchEvent::FileChange { exercise_ind } => {
watch_state.handle_file_change(exercise_ind, &mut stdout)?;
}