diff --git a/src/menu/ide_menu.rs b/src/menu/ide_menu.rs index c2ef4b64..7ff1d29a 100644 --- a/src/menu/ide_menu.rs +++ b/src/menu/ide_menu.rs @@ -559,8 +559,13 @@ impl IdeMenu { if use_ansi_coloring { if index == self.index() { format!( - "{}{}{}{}{}{}{}", + "{}{}{}{}{}{}{}{}", vertical_border, + suggestion + .style + .unwrap_or(self.color.text_style) + .reverse() + .prefix(), self.color.selected_text_style.prefix(), " ".repeat(padding), string, @@ -572,7 +577,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),