mirror of
https://github.com/alterware/master-server.git
synced 2026-02-02 11:23:03 +00:00
maint(stats_handler): refactor code (#94)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user