Skip to content

Commit

Permalink
add style to ide menu
Browse files Browse the repository at this point in the history
  • Loading branch information
maxomatic458 committed Jan 25, 2024
1 parent bf42db0 commit a5fbf9e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/menu/ide_menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,9 @@ impl IdeMenu {
if use_ansi_coloring {
if index == self.index() {
format!(

Check warning on line 561 in src/menu/ide_menu.rs

View workflow job for this annotation

GitHub Actions / build-lint-test (ubuntu-latest, stable, bashisms)

Diff in /home/runner/work/reedline/reedline/src/menu/ide_menu.rs

Check warning on line 561 in src/menu/ide_menu.rs

View workflow job for this annotation

GitHub Actions / build-lint-test (ubuntu-latest, stable, default)

Diff in /home/runner/work/reedline/reedline/src/menu/ide_menu.rs

Check warning on line 561 in src/menu/ide_menu.rs

View workflow job for this annotation

GitHub Actions / build-lint-test (ubuntu-latest, stable, sqlite)

Diff in /home/runner/work/reedline/reedline/src/menu/ide_menu.rs

Check warning on line 561 in src/menu/ide_menu.rs

View workflow job for this annotation

GitHub Actions / build-lint-test (ubuntu-latest, stable, basqlite)

Diff in /home/runner/work/reedline/reedline/src/menu/ide_menu.rs

Check warning on line 561 in src/menu/ide_menu.rs

View workflow job for this annotation

GitHub Actions / build-lint-test (ubuntu-latest, stable, external_printer)

Diff in /home/runner/work/reedline/reedline/src/menu/ide_menu.rs
"{}{}{}{}{}{}{}",
"{}{}{}{}{}{}{}{}",
vertical_border,
suggestion.style.unwrap_or(self.color.text_style).reverse().prefix(),
self.color.selected_text_style.prefix(),
" ".repeat(padding),
string,
Expand All @@ -572,7 +573,7 @@ impl IdeMenu {
format!(
"{}{}{}{}{}{}{}",
vertical_border,
self.color.text_style.prefix(),
suggestion.style.unwrap_or(self.color.text_style).prefix(),
" ".repeat(padding),
string,
" ".repeat(padding_right),
Expand Down

0 comments on commit a5fbf9e

Please sign in to comment.