Add rounded border

This commit is contained in:
Patrik Svensson
2020-08-05 14:07:46 +02:00
committed by Patrik Svensson
parent 66994cd904
commit 108e56c229
6 changed files with 68 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ namespace Sample
table.AddRow("Hej 👋", "[green]Världen[/]");
AnsiConsole.Render(table);
table = new Table(BorderKind.Ascii);
table = new Table(BorderKind.Rounded);
table.AddColumns("[red underline]Foo[/]", "Bar");
table.AddRow("[blue][underline]Hell[/]o[/]", "World 🌍");
table.AddRow("[yellow]Patrik [green]\"Lol[/]\" Svensson[/]", "Was [underline]here[/]!");