maint(stats_handler): refactor code (#94)

This commit is contained in:
2024-08-29 18:17:50 +02:00
committed by GitHub
parent 3b11b9bab9
commit 268e3961e7
24 changed files with 98 additions and 52 deletions

View File

@@ -216,9 +216,9 @@ namespace console
lock _{};
#ifdef _WIN32
SetConsoleTitleA(title.data());
SetConsoleTitleA(title.c_str());
#else
printf("\033]0;%s\007", title.data());
printf("\033]0;%s\007", title.c_str());
fflush(stdout);
#endif
}