We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6519ac6 commit c362c5aCopy full SHA for c362c5a
1 file changed
internal/iostreams/survey.go
@@ -174,8 +174,8 @@ var InputQuestionTemplate = fmt.Sprintf(`
174
{{- if and .Help (not .ShowHelp)}}{{ print .Config.HelpInput }} for help {{- if and .Suggest}}, {{end}}{{end -}}
175
{{- if and .Suggest }}{{color "cyan"}}{{ print .Config.SuggestInput }} for suggestions{{end -}}
176
]{{color "reset"}} {{end}}
177
- {{- if .Default}}{{color "white"}}({{.Default}}) {{color "reset"}}{{end}}
178
-{{- end}}`, blue())
+ {{- if .Default}}{{color "%s"}}({{.Default}}) {{color "reset"}}{{end}}
+{{- end}}`, blue(), gray())
179
180
// InputPromptConfig holds additional config for an Input prompt
181
type InputPromptConfig struct {
0 commit comments