mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-27 10:29:18 +08:00
color
This commit is contained in:
parent
257a722cd4
commit
86fdf8e987
1 changed files with 7 additions and 1 deletions
|
@ -240,7 +240,13 @@ static void fPrintAndLog(FILE *stream, const char *fmt, ...) {
|
|||
fprintf(stderr, "[-] Can't open logfile %s, logging disabled!\n", my_logfile_path);
|
||||
logging = 0;
|
||||
} else {
|
||||
printf("[=] Session log %s\n", my_logfile_path);
|
||||
|
||||
if (session.supports_colors) {
|
||||
printf(_YELLOW_("[=]") "Session log " _YELLOW_("%s") "\n", my_logfile_path);
|
||||
} else {
|
||||
printf("[=] Session log %s\n", my_logfile_path);
|
||||
}
|
||||
|
||||
}
|
||||
free(my_logfile_path);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue