mirror of
https://github.com/rwinkhart/go-boilerplate.git
synced 2026-08-28 04:46:41 -04:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc379d407c |
+1
-1
@@ -54,5 +54,5 @@ func InputMenuGen(prompt string, options []string) int {
|
||||
for i, option := range options {
|
||||
fmt.Printf("%d. %s\n", i+1, option)
|
||||
}
|
||||
return InputInt(prompt, 1, len(options))
|
||||
return InputInt("\n"+prompt, 1, len(options))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user