Given this
var markup = new Markup("[yellow]foo[/] [red]pneumonoultramicroscopicsilicovolcanoconiosis[/] [blue]bar qux[/]")
.Overflow(Overflow.Ellipsis);
var panel = new Panel(markup)
{
Width = 20,
};
// When
AnsiConsole.Write(panel);
I'm seeing
┌───────────────────────────────────────────────────────────┐
│ foo pneumonoultramicroscopicsilicovolcanoconiosis bar qux │
└───────────────────────────────────────────────────────────┘
Expected
┌──────────────────┐
│ foo │
│ pneumonoultrami… │
│ bar qux │
└──────────────────┘
I have a fix, just want to make sure this is an actual bug or designed behavior with panels
Given this
I'm seeing
Expected
I have a fix, just want to make sure this is an actual bug or designed behavior with panels