1 Commits
Author SHA1 Message Date
RandyTheSilly 9ee213eeb4 Print blank line after invalid input in front.InputInt 2026-01-08 23:03:28 -05:00
+1
View File
@@ -46,6 +46,7 @@ func InputInt(prompt string, min, max int) int {
if err == nil && (userInput >= min || min < 0) && (userInput <= max || max < 0) {
return userInput
}
fmt.Println()
}
}