Skip to content

Commit

Permalink
Update table alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
haath committed Aug 16, 2021
1 parent 903eceb commit d37c00f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/series.go
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ func getSeriesSearchTable(searchResult []series.TVmazeSeries, count int) string

table := tablewriter.NewWriter(buf)
table.SetHeader([]string{"ID", "Title", "Premiered"})
table.SetColumnAlignment([]int{tablewriter.ALIGN_CENTER, tablewriter.ALIGN_DEFAULT, tablewriter.ALIGN_CENTER})
table.SetColumnAlignment([]int{tablewriter.ALIGN_DEFAULT, tablewriter.ALIGN_DEFAULT, tablewriter.ALIGN_CENTER})
table.SetBorders(tablewriter.Border{Left: true, Top: false, Right: true, Bottom: false})
table.SetCenterSeparator("|")
table.SetAutoFormatHeaders(false)
Expand Down

0 comments on commit d37c00f

Please sign in to comment.