From 5da40e87a5b88e33675c8f4958db284e887c9eed Mon Sep 17 00:00:00 2001 From: mxve <68632137+mxve@users.noreply.github.com> Date: Sat, 12 Aug 2023 06:41:08 +0200 Subject: [PATCH] mark get_input as windows target --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index e2f8790..dd62263 100644 --- a/src/main.rs +++ b/src/main.rs @@ -112,6 +112,7 @@ fn launch(file_path: &PathBuf) { .expect("Failed to wait for the game process to finish"); } +#[cfg(windows)] fn get_input() -> String { let mut input = String::new(); std::io::stdin().read_line(&mut input).unwrap();