feat: nicer formatting of confirm_each()

This commit is contained in:
Muhammad Nauman Raza 2024-04-02 16:45:05 +01:00
parent 6744750e2c
commit 5d1b21ad88
Signed by: devraza
GPG key ID: 91EAD6081011574B

View file

@ -41,7 +41,7 @@ fn confirm_once() {
} }
fn confirm_each(target: &String) { fn confirm_each(target: &String) {
print!("Are you sure you want to delete {}? [y/N]: ", target); print!("Are you sure you want to delete {} ? [y/N]: ", target.bold());
confirm_parse(); confirm_parse();
} }