Diacritics substitution in prompt (#7205)
This commit is contained in:
parent
8b2cea1b8f
commit
7cfbf478d5
5 changed files with 169 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ import (
|
|||
"github.com/AlecAivazis/survey/v2"
|
||||
"github.com/cli/cli/v2/api"
|
||||
"github.com/cli/cli/v2/internal/ghrepo"
|
||||
"github.com/cli/cli/v2/internal/prompter"
|
||||
"github.com/cli/cli/v2/pkg/set"
|
||||
"github.com/cli/cli/v2/pkg/surveyext"
|
||||
)
|
||||
|
|
@ -395,6 +396,7 @@ func multiSelectSurvey(message string, defaults, options []string) ([]string, er
|
|||
Message: message,
|
||||
Options: options,
|
||||
Default: defaults,
|
||||
Filter: prompter.LatinMatchingFilter,
|
||||
}
|
||||
err := survey.AskOne(q, &results)
|
||||
return results, err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue