mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 14:30:10 +01:00
chore: change multi suggest to unordered list
This commit is contained in:
parent
5193d6c17d
commit
e9cf81cc42
1 changed files with 2 additions and 3 deletions
|
|
@ -100,7 +100,7 @@ pub fn select_candidate(data: &mut Data) {
|
|||
|
||||
if highlight_candidates.iter().any(|x| x.contains('\n')) {
|
||||
for candidate in highlight_candidates.iter_mut() {
|
||||
*candidate = format!("\t{}", candidate.replace("\n", "\n\t"));
|
||||
*candidate = format!("* {}", candidate.replace("\n", "\n "));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -109,8 +109,7 @@ pub fn select_candidate(data: &mut Data) {
|
|||
.with_prompt_prefix(style)
|
||||
.with_highlighted_option_prefix(ui::Styled::new(">").with_fg(Color::LightBlue))
|
||||
.with_scroll_up_prefix(ui::Styled::new("^").with_fg(Color::LightBlue))
|
||||
.with_scroll_down_prefix(ui::Styled::new("v").with_fg(Color::LightBlue))
|
||||
.with_option_index_prefix(ui::IndexPrefix::SpacePadded);
|
||||
.with_scroll_down_prefix(ui::Styled::new("v").with_fg(Color::LightBlue));
|
||||
|
||||
let msg = format!("{}", t!("multi-suggest", num = candidates.len()))
|
||||
.bold()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue