Fix previous fix - doh!

This commit is contained in:
Nathan Fisher 2023-01-17 17:39:50 -05:00
parent b94ebaa4bd
commit 3c27255c5b

View File

@ -321,7 +321,7 @@ impl AllActions {
let mut reply = String::new(); let mut reply = String::new();
let stdin = io::stdin(); let stdin = io::stdin();
let _read = stdin.read_line(&mut reply); let _read = stdin.read_line(&mut reply);
match reply.as_str() { match reply.trim_end() {
"y" | "Y" | "yes" | "Yes" => true, "y" | "Y" | "yes" | "Yes" => true,
_ => false, _ => false,
} }