mirror of
https://codeberg.org/scip/tablizer.git
synced 2025-12-17 04:30:56 +01:00
Changed print funcs to use an io.Writer, reimplemented print tests
This commit is contained in:
@@ -89,7 +89,7 @@ func PrepareColumns(data *Tabdata) error {
|
||||
}
|
||||
|
||||
// prepare headers: add numbers to headers
|
||||
func numberizeHeaders(data *Tabdata) {
|
||||
func numberizeAndReduceHeaders(data *Tabdata) {
|
||||
numberedHeaders := []string{}
|
||||
maxwidth := 0 // start from scratch, so we only look at displayed column widths
|
||||
|
||||
|
||||
Reference in New Issue
Block a user