Don't add an extra line when offering a "quit" prompt.
This commit is contained in:
parent
c30aca1f31
commit
73c2826273
@ -200,7 +200,7 @@ func lightDivider() {
|
||||
|
||||
func confirmQuit() {
|
||||
divider()
|
||||
fmt.Println("Are you sure you want to quit? (Y/N) > ")
|
||||
fmt.Printf("Are you sure you want to quit? (Y/N) > ")
|
||||
s := getResponse()
|
||||
if s == "y" || s == "yes" {
|
||||
fmt.Println("Bye!")
|
||||
|
Loading…
Reference in New Issue
Block a user