From 25286daea9d739b7ffcc8b1f40d48dace8b74ac1 Mon Sep 17 00:00:00 2001 From: Leonard Steppy Date: Wed, 15 Jan 2025 18:18:01 +0100 Subject: [PATCH] Add spaces to confirm prompts --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 07e7e80..56066c2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -266,7 +266,7 @@ fn main() -> Result<(), String> { } if !no_confirm { - match input!("Continue? [Y|n]").to_lowercase().as_str() { + match input!("Continue? [Y|n] ").to_lowercase().as_str() { "n" | "no" => { log!(logger, "Aborting..."); return Ok(()); @@ -359,7 +359,7 @@ fn main() -> Result<(), String> { ); if !args.quiet { - match input!("{duplication_notification}. Do you want to replace it? [N|y]") + match input!("{duplication_notification}. Do you want to replace it? [N|y] ") .to_lowercase() .as_str() {