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

gum table --header.foreground colors the 1st data-line, not the actual header #833

Open
ninlil opened this issue Jan 30, 2025 · 0 comments · May be fixed by #846
Open

gum table --header.foreground colors the 1st data-line, not the actual header #833

ninlil opened this issue Jan 30, 2025 · 0 comments · May be fixed by #846

Comments

@ninlil
Copy link

ninlil commented Jan 30, 2025

Describe the bug
gum table --header.foreground colors the 1st data-line, not the actual header-line

To Reproduce

<<EOT gum table -p -c "Column 1,Column 2,Column 3" --header.foreground=#ff0
a,A,1
b,B,2
c,C,3
EOT


<<EOT gum table -p --header.foreground=#ff0
Column 1,Column 2,Column 3
a,A,1
b,B,2
c,C,3
EOT

Both these examples makes the line with 'a A 1' yellow, not the 'Column...'

Expected behavior
That the line 'Column...' is the yellow one.

Screenshots

Image

  • OS: Ubuntu 24.04
  • gum version v0.15.1 (3745655)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant