From 7a2f02fa14446bdff9871a55a683d2041a2b4cec Mon Sep 17 00:00:00 2001 From: ckyrouac Date: Thu, 20 Feb 2025 14:13:29 -0500 Subject: [PATCH] reinstall: Stop waiting for newline after prompt is answered This is more intuitive. Signed-off-by: ckyrouac --- system-reinstall-bootc/src/prompt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-reinstall-bootc/src/prompt.rs b/system-reinstall-bootc/src/prompt.rs index 898ab4ab8..72a35e537 100644 --- a/system-reinstall-bootc/src/prompt.rs +++ b/system-reinstall-bootc/src/prompt.rs @@ -57,7 +57,7 @@ pub(crate) fn ask_yes_no(prompt: &str, default: bool) -> Result { dialoguer::Confirm::new() .with_prompt(prompt) .default(default) - .wait_for_newline(true) + .wait_for_newline(false) .interact() .context("prompting") }