Changed print funcs to use an io.Writer, reimplemented print tests

This commit is contained in:
2022-10-17 20:04:05 +02:00
parent 0d6de3fe5b
commit 1b2f51dcaf
6 changed files with 275 additions and 338 deletions

View File

@@ -25,7 +25,7 @@ import (
)
func sortTable(data *Tabdata, col int) {
if col <= 0 {
if SortByColumn <= 0 {
// no sorting wanted
return
}