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