diff options
-rw-r--r-- | input/prompt.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/input/prompt.go b/input/prompt.go index bd3fe4f0..12aa7b92 100644 --- a/input/prompt.go +++ b/input/prompt.go @@ -205,6 +205,8 @@ func PromptCredential(target, name string, credentials []auth.Credential, choice sort.Sort(auth.ById(credentials)) for { + _, _ = fmt.Fprintln(os.Stderr) + offset := 0 for i, choice := range choices { _, _ = fmt.Fprintf(os.Stderr, "[%d]: %s\n", i+1, choice) @@ -213,7 +215,7 @@ func PromptCredential(target, name string, credentials []auth.Credential, choice if len(credentials) > 0 { _, _ = fmt.Fprintln(os.Stderr) - _, _ = fmt.Fprintf(os.Stderr, "Existing %s for %s:", name, target) + _, _ = fmt.Fprintf(os.Stderr, "Existing %s for %s:\n", name, target) for i, cred := range credentials { meta := make([]string, 0, len(cred.Metadata())) |