Skip to content

Commit

Permalink
added docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinJWendt committed Jun 20, 2022
1 parent 0609e02 commit ae51bcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interactive_multiselect_printer.go
Expand Up @@ -25,7 +25,7 @@ var (
}
)

// InteractiveMultiselectPrinter is a printer for interactive select menus.
// InteractiveMultiselectPrinter is a printer for interactive multiselect menus.
type InteractiveMultiselectPrinter struct {
DefaultText string
TextStyle *Style
Expand Down Expand Up @@ -70,7 +70,7 @@ func (p InteractiveMultiselectPrinter) WithMaxHeight(maxHeight int) *Interactive
return &p
}

// Show shows the interactive select menu and returns the selected entry.
// Show shows the interactive multiselect menu and returns the selected entry.
func (p *InteractiveMultiselectPrinter) Show(text ...string) ([]string, error) {
if len(text) == 0 || Sprint(text[0]) == "" {
text = []string{p.DefaultText}
Expand Down

0 comments on commit ae51bcb

Please sign in to comment.