mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
less emoji
This commit is contained in:
parent
c769d661f1
commit
0a616d61f7
1 changed files with 6 additions and 16 deletions
22
client/ui.c
22
client/ui.c
|
@ -146,41 +146,31 @@ void PrintAndLogEx(logLevel_t level, const char *fmt, ...) {
|
|||
switch (level) {
|
||||
case ERR:
|
||||
if (session.emoji_mode == EMOJI)
|
||||
strncpy(prefix, " :rotating_light: ", sizeof(prefix) - 1);
|
||||
strncpy(prefix, _RED_("[!!]") " :rotating_light: ", sizeof(prefix) - 1);
|
||||
else
|
||||
strncpy(prefix, _RED_("[!!]"), sizeof(prefix) - 1);
|
||||
stream = stderr;
|
||||
break;
|
||||
case FAILED:
|
||||
if (session.emoji_mode == EMOJI)
|
||||
strncpy(prefix, " :no_entry: ", sizeof(prefix) - 1);
|
||||
strncpy(prefix, _RED_("[-]") " :no_entry: ", sizeof(prefix) - 1);
|
||||
else
|
||||
strncpy(prefix, _RED_("[-]"), sizeof(prefix) - 1);
|
||||
break;
|
||||
case DEBUG:
|
||||
if (session.emoji_mode == EMOJI)
|
||||
strncpy(prefix, " :speech_balloon: ", sizeof(prefix) - 1);
|
||||
else
|
||||
strncpy(prefix, _BLUE_("[#]"), sizeof(prefix) - 1);
|
||||
break;
|
||||
strncpy(prefix, _BLUE_("[#]"), sizeof(prefix) - 1);
|
||||
case HINT:
|
||||
case SUCCESS:
|
||||
if (session.emoji_mode == EMOJI)
|
||||
strncpy(prefix, " :star: ", sizeof(prefix) - 1);
|
||||
else
|
||||
strncpy(prefix, _GREEN_("[+]"), sizeof(prefix) - 1);
|
||||
strncpy(prefix, _GREEN_("[+]"), sizeof(prefix) - 1);
|
||||
break;
|
||||
case WARNING:
|
||||
if (session.emoji_mode == EMOJI)
|
||||
strncpy(prefix, " :warning: ", sizeof(prefix) - 1);
|
||||
strncpy(prefix, _CYAN_("[!]") " :warning: ", sizeof(prefix) - 1);
|
||||
else
|
||||
strncpy(prefix, _CYAN_("[!]"), sizeof(prefix) - 1);
|
||||
break;
|
||||
case INFO:
|
||||
if (session.emoji_mode == EMOJI)
|
||||
strncpy(prefix, " :information_source: ", sizeof(prefix) - 1);
|
||||
else
|
||||
strncpy(prefix, _YELLOW_("[=]"), sizeof(prefix) - 1);
|
||||
strncpy(prefix, _YELLOW_("[=]"), sizeof(prefix) - 1);
|
||||
break;
|
||||
case INPLACE:
|
||||
if (session.emoji_mode == EMOJI) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue