Skip to content

Commit c362c5a

Browse files
committed
style: display survey input placeholder text in grey
1 parent 6519ac6 commit c362c5a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/iostreams/survey.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ var InputQuestionTemplate = fmt.Sprintf(`
174174
{{- if and .Help (not .ShowHelp)}}{{ print .Config.HelpInput }} for help {{- if and .Suggest}}, {{end}}{{end -}}
175175
{{- if and .Suggest }}{{color "cyan"}}{{ print .Config.SuggestInput }} for suggestions{{end -}}
176176
]{{color "reset"}} {{end}}
177-
{{- if .Default}}{{color "white"}}({{.Default}}) {{color "reset"}}{{end}}
178-
{{- end}}`, blue())
177+
{{- if .Default}}{{color "%s"}}({{.Default}}) {{color "reset"}}{{end}}
178+
{{- end}}`, blue(), gray())
179179

180180
// InputPromptConfig holds additional config for an Input prompt
181181
type InputPromptConfig struct {

0 commit comments

Comments
 (0)