diff --git a/table_header.go b/table_header.go index a2ca853..6322c48 100644 --- a/table_header.go +++ b/table_header.go @@ -31,5 +31,7 @@ func FormatHeaderTable(header string, table *Table) string { b.WriteString(s) b.WriteRune('\n') }) - return b.String() + + ret := b.String() + return ret[:len(ret)-1] }