mirror of
https://github.com/hashcat/hashcat
synced 2024-12-01 20:18:12 +01:00
Add FOREGROUND_INTENSITY to windows error message color
This commit is contained in:
parent
cad3b3e10b
commit
8d899db110
@ -79,9 +79,12 @@ static void main_log (hashcat_ctx_t *hashcat_ctx, FILE *fp, const int loglevel)
|
||||
|
||||
switch (loglevel)
|
||||
{
|
||||
case LOGLEVEL_INFO: break;
|
||||
case LOGLEVEL_WARNING: SetConsoleTextAttribute (hConsole, 6); break;
|
||||
case LOGLEVEL_ERROR: SetConsoleTextAttribute (hConsole, FOREGROUND_RED); break;
|
||||
case LOGLEVEL_INFO:
|
||||
break;
|
||||
case LOGLEVEL_WARNING: SetConsoleTextAttribute (hConsole, 6);
|
||||
break;
|
||||
case LOGLEVEL_ERROR: SetConsoleTextAttribute (hConsole, FOREGROUND_RED | FOREGROUND_INTENSITY);
|
||||
break;
|
||||
}
|
||||
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user