mark get_input as windows target
This commit is contained in:
parent
dc36f83a9f
commit
5da40e87a5
@ -112,6 +112,7 @@ fn launch(file_path: &PathBuf) {
|
|||||||
.expect("Failed to wait for the game process to finish");
|
.expect("Failed to wait for the game process to finish");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(windows)]
|
||||||
fn get_input() -> String {
|
fn get_input() -> String {
|
||||||
let mut input = String::new();
|
let mut input = String::new();
|
||||||
std::io::stdin().read_line(&mut input).unwrap();
|
std::io::stdin().read_line(&mut input).unwrap();
|
||||||
|
Loading…
Reference in New Issue
Block a user