You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.
Recently I've used a command which is including this Go file.
As a no-English first language speaker, I was a little bit confused, as I’ve first understood the sentence "[Enter 2 empty lines to finish]" as:
Enter 2 empty lines to “cancel”
So I was thinking if it will be better to use a strong word to Confirm
Press Enter two additional times to confirm your choice
# grep -n -A2 -B2 "Enter 2 empty lines to finish" cloud-credential-operator/vendor/github.com/AlecAivazis/survey/v2/multiline.go
33-{{- else }}
34- {{- if .Default}}{{color "white"}}({{.Default}}) {{color "reset"}}{{end}}
35: {{- color "cyan"}}[Enter 2 empty lines to finish]{{color "reset"}}
36-{{- end}}`
37-
I think this will have less confusion here:
33-{{- else }}
34- {{- if .Default}}{{color "white"}}({{.Default}}) {{color "reset"}}{{end}}
35: {{- color "cyan"}}[Press Enter two additional times to confirm your choice]{{color "reset"}}
36-{{- end}}`
37-
The text was updated successfully, but these errors were encountered:
@vlours Ctrl-C is implicitly always available to abort the program, including during any Survey prompt. I don't think we have to additionally point it out.
However, Ctrl-D can be used as a signal that the user has finished typing input. I think that in this codebase, that's called KeyEndTransmission
Hi guys,
Recently I've used a command which is including this Go file.
As a no-English first language speaker, I was a little bit confused, as I’ve first understood the sentence "[Enter 2 empty lines to finish]" as:
So I was thinking if it will be better to use a strong word to Confirm
I think this will have less confusion here:
The text was updated successfully, but these errors were encountered: