Add Length and Lines properties to Paragraph

* Adds Length and Lines to `Paragraph`, `Markup` and `Text`.
* Do not use Environment.NewLine
This commit is contained in:
Patrik Svensson
2021-04-29 17:59:49 +02:00
committed by Patrik Svensson
parent e48ae9600a
commit d1d94cdebe
12 changed files with 113 additions and 19 deletions

View File

@ -36,7 +36,7 @@ namespace Spectre.Console
if (!last)
{
builder.Append(Environment.NewLine);
builder.Append('\n');
}
}
}