Skip to content

Commit 20a1cfe

Browse files
committed
added a comment for the future
1 parent 68351f8 commit 20a1cfe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Build/Logging/TerminalLogger/TerminalLogger.cs

+1
Original file line numberDiff line numberDiff line change
@@ -1064,6 +1064,7 @@ private void ThreadProc()
10641064
count++;
10651065
lock (_lock)
10661066
{
1067+
// Querying the terminal for it's dimensions is expensive, so we only do it every 30 frames e.g. once a second.
10671068
if (count >= 30)
10681069
{
10691070
count = 0;

0 commit comments

Comments
 (0)