Skip to content

Commit 572afaf

Browse files
authored
Allow to use uppercase Y and N to continue
1 parent d0d143c commit 572afaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/ui.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub fn prompt_to_continue(message: &str) -> io::Result<bool> {
1111

1212
let mut buf = String::new();
1313
io::stdin().read_line(&mut buf)?;
14-
let input = buf.trim();
14+
let input = buf.trim().to_lowercase();
1515

1616
if input == "y" {
1717
return Ok(true);

0 commit comments

Comments
 (0)