Skip to content

Commit

Permalink
disable padding for text tables
Browse files Browse the repository at this point in the history
  • Loading branch information
Fiedzia committed Nov 5, 2024
1 parent fd8ba32 commit 3e4ccfa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/destinations/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ impl TextDestination {
};

let mut table = Table::new();
table.set_format(*prettytable::format::consts::FORMAT_BOX_CHARS);
let mut format = *prettytable::format::consts::FORMAT_BOX_CHARS;
format.padding(0, 0);
table.set_format(format);

TextDestination {
truncate: options.truncate,
Expand Down

0 comments on commit 3e4ccfa

Please sign in to comment.