mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2026-02-02 15:45:11 +01:00
chore: update prompt hint
This commit is contained in:
parent
1577ce400e
commit
faa7623411
2 changed files with 3 additions and 2 deletions
|
|
@ -104,10 +104,11 @@ pub fn cnf(data: &mut Data) {
|
||||||
let style = ui::Styled::default();
|
let style = ui::Styled::default();
|
||||||
let render_config = ui::RenderConfig::default().with_prompt_prefix(style);
|
let render_config = ui::RenderConfig::default().with_prompt_prefix(style);
|
||||||
let msg = format!("{}", t!("install-package")).bold().blue();
|
let msg = format!("{}", t!("install-package")).bold().blue();
|
||||||
|
let confirm = format!("[{}]", t!("confirm-yes")).green();
|
||||||
let hint = format!(
|
let hint = format!(
|
||||||
"{} {} {}",
|
"{} {} {}",
|
||||||
"[↑/↓]".blue(),
|
"[↑/↓]".blue(),
|
||||||
t!("confirm-yes").green(),
|
confirm,
|
||||||
"[Ctrl+C]".red()
|
"[Ctrl+C]".red()
|
||||||
);
|
);
|
||||||
eprintln!("{}", msg);
|
eprintln!("{}", msg);
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,7 @@ pub fn select_candidate(data: &mut Data) {
|
||||||
let confirm = format!("[{}]", t!("confirm-yes")).green();
|
let confirm = format!("[{}]", t!("confirm-yes")).green();
|
||||||
let hint = format!(
|
let hint = format!(
|
||||||
"{} {} {}",
|
"{} {} {}",
|
||||||
"[↓/↑] / [j/k]".blue(),
|
"[↓/↑]".blue(),
|
||||||
confirm,
|
confirm,
|
||||||
"[Ctrl+C]".red()
|
"[Ctrl+C]".red()
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue