Minor thread realignment changes

This commit is contained in:
Vishal
2022-09-10 22:30:56 +05:30
parent e9d3a90765
commit 481b0b41b8
3 changed files with 18 additions and 12 deletions

View File

@@ -264,7 +264,7 @@ class Tree {
if( depth > maxDepthAllowed) {
depth = maxDepthAllowed - leftShiftThreadsBy;
printDepth(depth+1);
stdout.write("${getNumDashes((leftShiftThreadsBy + 1) * gSpacesPerDepth - 1, "")}");
stdout.write(" ${getNumDashes((leftShiftThreadsBy + 1) * gSpacesPerDepth - 1, "")}");
leftShifted = true;
}
@@ -274,7 +274,7 @@ class Tree {
if( leftShifted) {
stdout.write("\n");
printDepth(depth+1);
print("");
print(" "); // same spaces as when its left shifted
}
return numPrinted;