Minor refactoring. Added a flag in the TString details function to only print some basic stats instead of always showing the stored string and the byte representation.

This commit is contained in:
2022-07-04 23:24:54 -05:00
parent 50655fbc1a
commit 5b5036b996
3 changed files with 12 additions and 9 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ int main(int argc, char** argv) {
if (input[0] == 'q') break;
if (input[0] == 'p') {
TStringPrintDetails(string);
if (input[1] == '\0') TStringPrintDetails(string, 0);
else TStringPrintDetails(string, 1);
continue;
}