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:
parent
8cd2e8eb66
commit
b59d8f26a9
@ -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 ();
|
||||
|
Loading…
Reference in New Issue
Block a user