diff --git a/table/table.go b/table/table.go index 0bdd6d7..3b8d3e2 100644 --- a/table/table.go +++ b/table/table.go @@ -431,7 +431,7 @@ func (m *Model) renderRow(r int) string { if m.styleFunc != nil { cellStyle = m.styleFunc(r, i, value) if r == m.cursor { - cellStyle.Inherit(m.styles.Selected) + cellStyle = cellStyle.Inherit(m.styles.Selected) } } else { cellStyle = m.styles.Cell