Bad rendering for table live display / hidden table headers / no border and forced refresh
pchalamet opened this issue · comments
Pierre Chalamet commented
Information
- macos
- Sonoma 14.4.1
- Terminal: iTerm + bash
Describe the bug
Rendering is wrong in live rendering for hidden table headers & no border. The rendering starts on the wrong line (off by 1 line) when Refresh()
is requested.
To Reproduce
using Spectre.Console;
var table = new Table().AddColumn("hidden").HideHeaders().NoBorder();
AnsiConsole.Live(table).Start(ctx =>
{
table.AddRow("toto");
ctx.Refresh();
table.AddRow("titi");
});
Expected behavior
Rendering must start on correct line.
Screenshots
What the code above renders:
Additional context
Please upvote 👍 this issue if you are interested in it.