Skip to content

Commit

Permalink
render menu with correct style
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro Crugnola committed Dec 17, 2022
1 parent 45b7694 commit 223fd94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interactive_select_printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,9 @@ func (p *InteractiveSelectPrinter) renderSelectMenu() string {
continue
}
if i == p.selectedOption {
content += Sprintf("%s %s\n", p.renderSelector(), option)
content += Sprintf("%s %s\n", p.renderSelector(), p.OptionStyle.Sprint(option))
} else {
content += Sprintf(" %s\n", option)
content += Sprintf(" %s\n", p.OptionStyle.Sprint(option))
}
}

Expand Down

0 comments on commit 223fd94

Please sign in to comment.