Move console clear to main to avoid clearing logs

This commit is contained in:
Tixx
2024-09-22 23:57:26 +02:00
parent aca61886d0
commit 06686688fc
2 changed files with 6 additions and 2 deletions

View File

@@ -25,6 +25,12 @@ Options options;
}
int main(int argc, char** argv) try {
#if defined(_WIN32)
system("cls");
#elif defined(__linux__)
system("clear");
#endif
#ifdef DEBUG
std::thread th(flush);
th.detach();