mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-04-03 06:16:15 +00:00
Move console clear to main to avoid clearing logs
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user