Minimize console window on start up

This commit is contained in:
Jan Gru 2021-11-07 06:53:57 +01:00
parent ebb47f35ef
commit f68d74fea2

View File

@ -44,6 +44,9 @@ int main(void)
OSVERSIONINFO winver;
unsigned short original_colors = 0;
/* Minimize window at first to not interefere with human behaviour simulators */
ShowWindow(GetConsoleWindow(), SW_MINIMIZE);
write_log("Start");
#if ENABLE_DNS_TRACE
write_trace_dns("analysis-start");