mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +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 render_config = ui::RenderConfig::default().with_prompt_prefix(style);
|
||||
let msg = format!("{}", t!("install-package")).bold().blue();
|
||||
let confirm = format!("[{}]", t!("confirm-yes")).green();
|
||||
let hint = format!(
|
||||
"{} {} {}",
|
||||
"[↑/↓]".blue(),
|
||||
t!("confirm-yes").green(),
|
||||
confirm,
|
||||
"[Ctrl+C]".red()
|
||||
);
|
||||
eprintln!("{}", msg);
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ pub fn select_candidate(data: &mut Data) {
|
|||
let confirm = format!("[{}]", t!("confirm-yes")).green();
|
||||
let hint = format!(
|
||||
"{} {} {}",
|
||||
"[↓/↑] / [j/k]".blue(),
|
||||
"[↓/↑]".blue(),
|
||||
confirm,
|
||||
"[Ctrl+C]".red()
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue