diff --git a/crates/bin/src/ui.rs b/crates/bin/src/ui.rs index b2912b9d..5c3474eb 100644 --- a/crates/bin/src/ui.rs +++ b/crates/bin/src/ui.rs @@ -34,8 +34,11 @@ pub async fn confirm() -> Result<(), BinstallError> { } match input.as_str().trim() { - "yes" | "y" | "YES" | "Y" => break true, - _ => => break false, + "" | "yes" | "y" | "YES" | "Y" => break false, + "no" | "n" | "NO" | "N" => break true, + _ => { + input.clear(); + continue; } } };