Skip to content

Commit

Permalink
added reset
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Jan 23, 2024
1 parent a6a7b74 commit 27bf852
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/menu/columnar_menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,14 +344,15 @@ impl ColumnarMenu {
let left_text_size = self.longest_suggestion + self.default_details.col_padding;
let right_text_size = self.get_width().saturating_sub(left_text_size);
format!(
"{}{}{:max$}{}{}{}{}{}",
"{}{}{:max$}{}{}{}{}{}{}",
suggestion
.style
.unwrap_or(self.color.text_style)
.reverse()
.prefix(),
self.color.selected_text_style.prefix(),
&suggestion.value,
RESET,
self.color.description_style.reverse().prefix(),
self.color.selected_text_style.prefix(),
description
Expand Down

0 comments on commit 27bf852

Please sign in to comment.