mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-06-19 05:18:16 +08:00
Add AnsiConsole.Write
method
This commit also obsoletes the `AnsiConsole.Render` method. Closes #576
This commit is contained in:

committed by
Phil Scott

parent
ca2e6ce0ad
commit
e0395dfa2b
@ -19,7 +19,7 @@ namespace Spectre.Console.Examples
|
||||
.AddRow("[b]Buffer height[/]", $"{AnsiConsole.Console.Profile.Height}")
|
||||
.AddRow("[b]Encoding[/]", $"{AnsiConsole.Console.Profile.Encoding.EncodingName}");
|
||||
|
||||
AnsiConsole.Render(
|
||||
AnsiConsole.Write(
|
||||
new Panel(grid)
|
||||
.Header("Information"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user