chore: clean

This commit is contained in:
iff 2024-12-07 00:20:00 +01:00
parent 92d14cdf20
commit c10f08a0c2
5 changed files with 20 additions and 21 deletions

View file

@ -92,11 +92,15 @@ pub fn select_candidate(data: &mut Data) {
.with_answered_prompt_prefix(style)
.with_highlighted_option_prefix(style);
let msg = format!("{} suggestions found:", candidates.len()).bold().blue();
let hint = format!("{} {} {}",
let msg = format!("{} suggestions found:", candidates.len())
.bold()
.blue();
let hint = format!(
"{} {} {}",
"[↑/↓]".blue(),
t!("confirm-yes").green(),
"[Ctrl+C]".red());
"[Ctrl+C]".red()
);
eprintln!("{}", msg);
eprintln!("{}", hint);