From 3a7a865b73b0b5126e778613f23d219ee5642879 Mon Sep 17 00:00:00 2001 From: DatHypnoboi <25212257+DatHypnoboi@users.noreply.github.com> Date: Wed, 18 Feb 2026 11:29:41 -0800 Subject: [PATCH] add check for input 'nothing' on initial user input --- main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.cpp b/main.cpp index d9884f9..8079b3b 100644 --- a/main.cpp +++ b/main.cpp @@ -22,6 +22,8 @@ int main(){ cout << "What are you listening to?\n"; getline(cin,input); transform(input.begin(), input.end(), input.begin(), [](unsigned char c){ return std::tolower(c); }); + if (input == "nothing") + return 0; cout << VALIDATION[pick] << "! Let's listen to more\n"; do{