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() {
|
func confirmQuit() {
|
||||||
divider()
|
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()
|
s := getResponse()
|
||||||
if s == "y" || s == "yes" {
|
if s == "y" || s == "yes" {
|
||||||
fmt.Println("Bye!")
|
fmt.Println("Bye!")
|
||||||
|
Loading…
Reference in New Issue
Block a user