Skip to content

Commit

Permalink
%q: -> "%s:"
Browse files Browse the repository at this point in the history
  • Loading branch information
dopey committed Nov 16, 2021
1 parent e3d4f67 commit 29a2572
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/templates.go
Expand Up @@ -76,7 +76,7 @@ func SelectTemplates(name string) *promptui.SelectTemplates {
Label: fmt.Sprintf("%s {{ . }}: ", IconInitial),
Active: fmt.Sprintf("%s {{ . | underline }}", IconSelect),
Inactive: " {{ . }}",
Selected: fmt.Sprintf(`{{ %q | green }} {{ %q: | bold }} {{ .Name }}`, IconGood, name),
Selected: fmt.Sprintf(`{{ %q | green }} {{ "%s:" | bold }} {{ .Name }}`, IconGood, name),
}
}

Expand All @@ -88,6 +88,6 @@ func NamedSelectTemplates(name string) *promptui.SelectTemplates {
Label: fmt.Sprintf("%s {{.Name}}: ", IconInitial),
Active: fmt.Sprintf("%s {{ .Name | underline }}", IconSelect),
Inactive: " {{.Name}}",
Selected: fmt.Sprintf(`{{ %q | green }} {{ %q: | bold }} {{ .Name }}`, IconGood, name),
Selected: fmt.Sprintf(`{{ %q | green }} {{ "%s:" | bold }} {{ .Name }}`, IconGood, name),
}
}

0 comments on commit 29a2572

Please sign in to comment.