Print blank line after invalid input in front.InputInt

This commit is contained in:
2026-01-08 23:03:28 -05:00
parent cc379d407c
commit 9ee213eeb4
+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()
}
}