Skip to content

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

@ninlil

Description

@ninlil

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions