Skip to content

Commit 582fdce

Browse files
committed
Fix dotnet-counters console alignment
Text was oddly shifting one character to the right during updates. Fixed the off-by-one error in the update text positioning.
1 parent e0cd43a commit 582fdce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tools/dotnet-counters/Exporters/ConsoleWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public void CounterPayloadReceived(CounterPayload payload, bool pauseCmdSet)
196196
}
197197

198198
int row = counter.RenderValueInline ? counter.Row : tagSet.Row;
199-
Console.SetCursorPosition(Indent + maxNameLength + 1, row);
199+
Console.SetCursorPosition(Indent + maxNameLength, row);
200200
Console.Write(FormatValue(payload.Value));
201201
}
202202
}

0 commit comments

Comments
 (0)