mirror of
https://github.com/spectreconsole/spectre.console.git
synced 2026-01-01 08:50:33 +01:00
Add support for tables
This commit is contained in:
committed by
Patrik Svensson
parent
aa34c145b9
commit
a068fc68c3
@@ -18,12 +18,7 @@ namespace Spectre.Console.Internal
|
||||
public static bool TryParse(string text, out Style style)
|
||||
{
|
||||
style = Parse(text, out var error);
|
||||
if (error != null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
return error == null;
|
||||
}
|
||||
|
||||
private static Style Parse(string text, out string error)
|
||||
|
||||
Reference in New Issue
Block a user