1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 04:23:06 +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);
}
int main (int argc, char **argv)
static void setup_console ()
{
#if defined (_WIN)
SetConsoleWindowSize (132);
#endif
}
int main (int argc, char **argv)
{
/**
* To help users a bit
*/
setup_console ();
setup_environment_variables ();
setup_umask ();