fix #1: use scanner.Split() instead of splitting by header position

boundaries, since this splitting cuts utf-8 chars which causes
distorted output.
This commit is contained in:
2022-10-05 12:55:33 +02:00
parent 2c410e1cb3
commit 26e50cf908
3 changed files with 20 additions and 69 deletions

View File

@@ -25,7 +25,7 @@ var (
ShowVersion bool
Columns string
UseColumns []int
Separator string
Separator string = `(\s\s+|\t)`
OutflagExtended bool
OutflagMarkdown bool
OutflagOrgtable bool