From 00638a6bf4c181634865e3c815ed0bc2ea9e2be9 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Wed, 18 Jun 2025 03:51:58 +0100 Subject: [PATCH] fix typo --- new.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/new.go b/new.go index b043b21..d5f0984 100644 --- a/new.go +++ b/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), }