mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07: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);
|
fprintf(stderr, "[-] Can't open logfile %s, logging disabled!\n", my_logfile_path);
|
||||||
logging = 0;
|
logging = 0;
|
||||||
} else {
|
} 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);
|
free(my_logfile_path);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue