mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-06-19 21:38:16 +08:00
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:

committed by
Patrik Svensson

parent
e48ae9600a
commit
d1d94cdebe
@ -29,7 +29,7 @@ namespace Spectre.Console
|
||||
if (_lastStatus != task.Description)
|
||||
{
|
||||
_lastStatus = task.Description;
|
||||
_renderable = new Markup(task.Description + Environment.NewLine);
|
||||
_renderable = new Markup(task.Description + "\n");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user