fix: dont wrap for table output

This commit is contained in:
decentral1se 2021-12-25 17:22:40 +01:00
parent c0caf14d74
commit ae0e7b8e4c
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ func HumanDuration(timestamp int64) string {
// CreateTable prepares a table layout for output.
func CreateTable(columns []string) *tablewriter.Table {
table := tablewriter.NewWriter(os.Stdout)
table.SetAutoWrapText(false)
table.SetHeader(columns)
return table
}