Fix invisible input on Windows

This commit is contained in:
mo8it
2024-05-13 02:20:04 +02:00
parent 11fda5d70f
commit 0525739046
3 changed files with 24 additions and 37 deletions
+2 -2
View File
@@ -92,8 +92,8 @@ pub fn watch(
break;
}
WatchEvent::Input(InputEvent::Run) => watch_state.run_current_exercise()?,
WatchEvent::Input(InputEvent::Unrecognized(cmd)) => {
watch_state.handle_invalid_cmd(&cmd)?;
WatchEvent::Input(InputEvent::Unrecognized(input)) => {
watch_state.handle_invalid_input(input)?;
}
WatchEvent::FileChange { exercise_ind } => {
watch_state.run_exercise_with_ind(exercise_ind)?;