Add better algorithm for calculating column widths

Closes #14
This commit is contained in:
Patrik Svensson
2020-08-05 16:25:09 +02:00
committed by Patrik Svensson
parent 0b4321115a
commit 9637066927
18 changed files with 751 additions and 150 deletions

View File

@@ -1,5 +1,6 @@
using System;
using System.Globalization;
using Spectre.Console.Internal;
namespace Spectre.Console
{
@@ -19,7 +20,12 @@ namespace Spectre.Console
throw new ArgumentNullException(nameof(console));
}
console.Write(Environment.NewLine);
using (console.PushColor(Color.Default, true))
using (console.PushColor(Color.Default, false))
using (console.PushDecoration(Decoration.None))
{
console.Write(Environment.NewLine);
}
}
/// <summary>