|
@@ -18,7 +18,7 @@ func Acknowledge(text string, defaultYes bool) bool {
|
|
|
|
|
|
func printSimplePrompt(text string, options []string) {
|
|
|
tipstr := "(" + strings.Join(options, "/") + ")"
|
|
|
- fmt.Print(text, tipstr, "> ")
|
|
|
+ fmt.Print(text, " ", tipstr, " > ")
|
|
|
}
|
|
|
|
|
|
func printComplexPromptFirst(text string, options map[string]string) string {
|
|
@@ -30,7 +30,7 @@ func printComplexPromptFirst(text string, options map[string]string) string {
|
|
|
opts = append(opts, k)
|
|
|
}
|
|
|
optstr := "(" + strings.Join(opts, "/") + ")"
|
|
|
- fmt.Print(optstr, "> ")
|
|
|
+ fmt.Print(optstr, " > ")
|
|
|
return optstr
|
|
|
}
|
|
|
|
|
@@ -64,6 +64,6 @@ func ComplexSelect(text string, options map[string]string) (k string, err error)
|
|
|
return input, nil
|
|
|
}
|
|
|
fmt.Println("Invalid input!")
|
|
|
- fmt.Print(optstr, "> ")
|
|
|
+ fmt.Print(optstr, " > ")
|
|
|
}
|
|
|
}
|