diff --git a/README.md b/README.md index cc9fc189..0533f1a2 100644 --- a/README.md +++ b/README.md @@ -734,6 +734,12 @@ the stylesheet-based Markdown renderer. [glamour]: https://github.com/charmbracelet/glamour +## Contributing + +See [contributing][contribute]. + +[contribute]: https://github.com/charmbracelet/lipgloss/contribute + ## Feedback We’d love to hear your thoughts on this project. Feel free to drop us a note! diff --git a/table/table.go b/table/table.go index 650f1400..f5c47155 100644 --- a/table/table.go +++ b/table/table.go @@ -532,7 +532,7 @@ func (t *Table) constructRows(availableLines int) string { func (t *Table) constructRow(index int, isOverflow bool) string { var s strings.Builder - hasHeaders := t.headers != nil && len(t.headers) > 0 + hasHeaders := len(t.headers) > 0 height := t.heights[index+btoi(hasHeaders)] if isOverflow { height = 1