Don't add an extra line when offering a "quit" prompt.

This commit is contained in:
Kistaro Windrider 2024-09-29 12:59:21 -07:00
parent c30aca1f31
commit 73c2826273
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -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!")