Skip to content

Commit

Permalink
chore: set autowrap for table output
Browse files Browse the repository at this point in the history
  • Loading branch information
rootsami committed Dec 6, 2024
1 parent 0c37b0b commit 66d10f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/output/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (f *Formatter) printTable(data types.KeyDetailsSlice) error {

table := tablewriter.NewWriter(os.Stdout)
table.SetHeader(headers)
table.SetAutoWrapText(false)
table.SetAutoWrapText(true)
table.SetAutoFormatHeaders(true)
table.SetHeaderAlignment(tablewriter.ALIGN_LEFT)
table.SetAlignment(tablewriter.ALIGN_LEFT)
Expand Down

0 comments on commit 66d10f9

Please sign in to comment.