Tag: spectre-console
All the articles with the tag "spectre-console".
List`1[System.Int32] is not a style: escaping interpolated values in Spectre.Console markup
MarkupInterpolated escaped string arguments but passed every other object through untouched, so anything whose ToString() contained square brackets crashed the markup parser. That includes List<int> and int[]. Notes on spectre.console PR #2118: the fix, the IFormattable trade-off, and what still breaks.
Measure twice, render once: why Align.Width didn't shrink a Spectre.Console panel
Spectre.Console lays out widgets in two passes, measure and render. Align respected an explicit Width when rendering but not when measuring, so a Panel around it always stretched to the full console. Notes on my first spectre.console PR, #2101: the layout model, the fix, and two review comments that made it correct.