diff --git a/src/main.cpp b/src/main.cpp index 6357f6a..88c2043 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -84,7 +84,10 @@ const std::string getResponse (const std::string& prompt) std::cout << prompt; std::getline (std::cin, response); if (std::cin.eof () == 1) + { + response = ""; std::cout << "\n"; + } #endif return response;