From 7a58031c313e861ee29998e86fd307a9795672da Mon Sep 17 00:00:00 2001 From: "P. Taylor Goetz" Date: Fri, 15 Nov 2024 17:25:44 -0500 Subject: [PATCH] CLI UX minor fixes. --- internal/versionbump.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/versionbump.go b/internal/versionbump.go index d7ba435..4166aba 100644 --- a/internal/versionbump.go +++ b/internal/versionbump.go @@ -592,7 +592,7 @@ func promptUserConfirm(prompt string) bool { logVerbose(config.Options{}, "Operation canceled by user.") return false } else { - printColor("Invalid input. Please enter 'y' or 'n'.", ColorYellow) + printColor("Invalid input. Please enter 'y' or 'n'.\n", ColorYellow) } } } @@ -607,7 +607,7 @@ func promptUserForValue(prompt string, defaultValue string, validator func(strin printColor(fmt.Sprintf("%s [%s]: ", prompt, defaultValue), ColorLightBlue) input, err := reader.ReadString('\n') if err != nil { - printColor("Error reading input. Please try again.", ColorYellow) + printColor("Error reading input. Please try again.\n", ColorYellow) continue }