mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-20 23:36:31 +08:00
textual
This commit is contained in:
parent
15b8eb5935
commit
85f16fd471
|
@ -3092,17 +3092,19 @@ static int CmdDiff(const char *Cmd) {
|
||||||
PrintAndLogEx(INFO, "inB null");
|
PrintAndLogEx(INFO, "inB null");
|
||||||
|
|
||||||
int hdr_sln = (width * 4) + 2;
|
int hdr_sln = (width * 4) + 2;
|
||||||
PrintAndLogEx(INFO, "");
|
|
||||||
|
|
||||||
char hdr0[200] = " # | " _CYAN_("A");
|
char hdr0[200] = " # | " _CYAN_("a");
|
||||||
memset(hdr0 + strlen(hdr0), ' ', hdr_sln - 2);
|
memset(hdr0 + strlen(hdr0), ' ', hdr_sln - 2);
|
||||||
strcat(hdr0 + strlen(hdr0), "| " _CYAN_("B"));
|
strcat(hdr0 + strlen(hdr0), "| " _CYAN_("b"));
|
||||||
PrintAndLogEx(INFO, hdr0);
|
|
||||||
|
|
||||||
char hdr1[200] = "----+";
|
char hdr1[200] = "----+";
|
||||||
memset(hdr1 + strlen(hdr1), '-', hdr_sln);
|
memset(hdr1 + strlen(hdr1), '-', hdr_sln);
|
||||||
memset(hdr1 + strlen(hdr1), '+', 1);
|
memset(hdr1 + strlen(hdr1), '+', 1);
|
||||||
memset(hdr1 + strlen(hdr1), '-', hdr_sln);
|
memset(hdr1 + strlen(hdr1), '-', hdr_sln);
|
||||||
|
|
||||||
|
PrintAndLogEx(INFO, "");
|
||||||
|
PrintAndLogEx(INFO, hdr1);
|
||||||
|
PrintAndLogEx(INFO, hdr0);
|
||||||
PrintAndLogEx(INFO, hdr1);
|
PrintAndLogEx(INFO, hdr1);
|
||||||
|
|
||||||
// index 4bytes, spaces, bar, bytes with ansi codes
|
// index 4bytes, spaces, bar, bytes with ansi codes
|
||||||
|
|
Loading…
Reference in a new issue