We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de1b5cd commit 67393ebCopy full SHA for 67393eb
src/Asynkron.TestRunner/LiveDisplay.cs
@@ -9,8 +9,8 @@ namespace Asynkron.TestRunner;
9
/// </summary>
10
public class LiveDisplay
11
{
12
- private const int PanelWidth = 80;
13
- private const int ContentWidth = PanelWidth - 4; // Account for panel borders
+ private static int PanelWidth => Math.Max(80, Console.WindowWidth - 2);
+ private static int ContentWidth => PanelWidth - 4; // Account for panel borders
14
15
private readonly Stopwatch _stopwatch = Stopwatch.StartNew();
16
private readonly object _lock = new();
0 commit comments