Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad rendering for table live display / hidden table headers / no border and forced refresh #1533

Closed
pchalamet opened this issue Apr 26, 2024 · 0 comments
Labels
bug Something isn't working needs triage

Comments

@pchalamet
Copy link

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:
image

What is expected:
image

Additional context


Please upvote 👍 this issue if you are interested in it.

@pchalamet pchalamet added bug Something isn't working needs triage labels Apr 26, 2024
@github-project-automation github-project-automation bot moved this to Todo 🕑 in Spectre Console Apr 26, 2024
@github-project-automation github-project-automation bot moved this from Todo 🕑 to Done 🚀 in Spectre Console Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
Status: Done 🚀
Development

No branches or pull requests

1 participant