aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar alecdwm 2015-10-07 19:17:35 +1100
committerGravatar alecdwm 2015-10-07 19:17:35 +1100
commitddb7be24df60af6e0d01b79847ad4446b8aa9115 (patch)
treed51548a9856dfbbe8e9c0b0b672e59c0b41c0191
parentf03aad04b63e5edf61ac75a32464cd0d59cb4b57 (diff)
Improved CLI spacing
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 2c8f924..d48849a 100644
--- a/main.go
+++ b/main.go
@@ -28,7 +28,7 @@ import (
func checkVarPromptUnset(promptVar *string, promptDesc string) {
if *promptVar == "unset" {
- fmt.Printf("%s > ", promptDesc)
+ fmt.Printf("\n%s > ", promptDesc)
input, err := bufio.NewReader(os.Stdin).ReadString('\n')
if err != nil {
@@ -38,7 +38,7 @@ func checkVarPromptUnset(promptVar *string, promptDesc string) {
*promptVar = strings.Trim(input, "\n")
}
- fmt.Printf("\n%s set to '%s'\n\n", promptDesc, *promptVar)
+ fmt.Printf("\n%s set to '%s'\n", promptDesc, *promptVar)
}
func main() {