1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 12:29:35 +00:00

Add setup_console()

This commit is contained in:
jsteube 2016-09-23 19:50:59 +02:00
parent 8cd2e8eb66
commit b59d8f26a9

View File

@ -139,16 +139,21 @@ static void setup_umask ()
umask (077); umask (077);
} }
int main (int argc, char **argv) static void setup_console ()
{ {
#if defined (_WIN) #if defined (_WIN)
SetConsoleWindowSize (132); SetConsoleWindowSize (132);
#endif #endif
}
int main (int argc, char **argv)
{
/** /**
* To help users a bit * To help users a bit
*/ */
setup_console ();
setup_environment_variables (); setup_environment_variables ();
setup_umask (); setup_umask ();