diff --git a/src/main.cpp b/src/main.cpp index f96f5d8..5ac2fff 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -217,9 +217,10 @@ void FDR::read_console() { std::vector strings; std::string str; while (std::getline(console_file, str)) { - std::cout << "str: " << str << "\n"; strings.emplace_back(std::move(str)); } + console_file.clear(); + last_char_read = console_file.tellg(); console_file.close();