Commit 7ab564381a

7ab564381ad2dd19d5cdc22ce3ec41bceaceddc8

parent: 35848a7d27

Unsigned

Vedant Deshmukh <73630434+Vedant9500@users.noreply.github.com> · 2024-12-18 13:22 UTC

changed "start next episode? (y/n)" to "start next episode? (yes/no)"

Layout: unified · split

cmd/curd/main.go +2 −2
@@ -463,12 +463,12 @@ func main() {
463 if userCurdConfig.NextEpisodePrompt { 463 if userCurdConfig.NextEpisodePrompt {
464 var answer string 464 var answer string
465 if userCurdConfig.RofiSelection { 465 if userCurdConfig.RofiSelection {
466 answer, err = internal.GetUserInputFromRofi("Start next episode? (y/n)") 466 answer, err = internal.GetUserInputFromRofi("Start next episode? (yes/no)")
467 if err != nil { 467 if err != nil {
468 internal.ExitCurd(err) 468 internal.ExitCurd(err)
469 } 469 }
470 } else { 470 } else {
471 fmt.Println("Start next episode? (y/n)") 471 fmt.Println("Start next episode? (yes/no)")
472 fmt.Scanln(&answer) 472 fmt.Scanln(&answer)
473 } 473 }
474 if answer == "y" || answer == "Y" || answer == "yes" || answer == "Yes" || answer == "YES" || answer == "" { 474 if answer == "y" || answer == "Y" || answer == "yes" || answer == "Yes" || answer == "YES" || answer == "" {