feat: nicer formatting of confirm_each()

This commit is contained in:
Muhammad Nauman Raza 2024-04-02 16:45:05 +01:00
parent fe8b564c1a
commit 8d99b98dfa
No known key found for this signature in database
GPG key ID: 31BC90D626D2DBBE

View file

@ -41,7 +41,7 @@ fn confirm_once() {
}
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();
}