diff options
author | Mikael Fangel <34864484+MikaelFangel@users.noreply.github.com> | 2023-03-09 18:35:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-09 12:35:06 -0500 |
commit | 2bda0014802e319c0aba180d47b50da12c63283c (patch) | |
tree | 2e500d26e4d4c9479e63616826d92334b2cb420c | |
parent | 1267b7a78e290658012c1dc3c2f130448b366e07 (diff) |
fix(table): removed inheritance for selected foreground (#300)
-rw-r--r-- | table/command.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/table/command.go b/table/command.go index cc7cf55..d771a3b 100644 --- a/table/command.go +++ b/table/command.go @@ -74,7 +74,7 @@ func (o Options) Run() error { styles := table.Styles{ Cell: defaultStyles.Cell.Inherit(o.CellStyle.ToLipgloss()), Header: defaultStyles.Header.Inherit(o.HeaderStyle.ToLipgloss()), - Selected: defaultStyles.Selected.Inherit(o.SelectedStyle.ToLipgloss()), + Selected: o.SelectedStyle.ToLipgloss(), } var rows = make([]table.Row, 0, len(data)) |