mirror of
https://github.com/onyx-and-iris/ignr.git
synced 2025-07-27 06:11:48 +00:00
fix typo
This commit is contained in:
parent
68bec355ec
commit
00638a6bf4
4
new.go
4
new.go
@ -67,7 +67,7 @@ func runPrompt(client *github.Client, height int) (*github.Gitignore, error) {
|
||||
return nil, fmt.Errorf("error retrieving gitignore template list: %w", err)
|
||||
}
|
||||
|
||||
selectTemmplates := &promptui.SelectTemplates{
|
||||
selectTemplates := &promptui.SelectTemplates{
|
||||
Label: ` {{ "\U0000007C" | faint }} {{ . | magenta | bold }}`,
|
||||
Active: `{{ "\U0000007C" | faint }} {{ "🌶" | red }} {{ . | cyan | italic }}`,
|
||||
Inactive: `{{ "\U0000007C" | faint }} {{ . | faint }}`,
|
||||
@ -77,7 +77,7 @@ func runPrompt(client *github.Client, height int) (*github.Gitignore, error) {
|
||||
prompt := promptui.Select{
|
||||
Label: "Select a .gitignore template",
|
||||
Items: templates,
|
||||
Templates: selectTemmplates,
|
||||
Templates: selectTemplates,
|
||||
Size: height,
|
||||
Searcher: filterFunc(templates),
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user