Skip to content

Commit 91a13d9

Browse files
committed
Wrap section and symbol name to 80 characters to improve readability of table output
1 parent 420cfca commit 91a13d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

collector/src/bin/collector.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use humansize::{format_size, BINARY};
2222
use rayon::iter::{IndexedParallelIterator, IntoParallelRefIterator, ParallelIterator};
2323
use tabled::builder::Builder;
2424
use tabled::settings::object::{Columns, Rows};
25-
use tabled::settings::{Alignment, Border, Color, Modify};
25+
use tabled::settings::{Alignment, Border, Color, Modify, Width};
2626
use tokio::runtime::Runtime;
2727

2828
use collector::api::next_artifact::NextArtifact;
@@ -1466,6 +1466,7 @@ fn print_binary_stats(
14661466
}
14671467
}
14681468

1469+
table.with(Modify::new(Columns::first()).with(Width::wrap(80)));
14691470
table.with(Modify::new(Columns::new(1..)).with(Alignment::right()));
14701471
table.with(tabled::settings::Style::sharp());
14711472
table.with(

0 commit comments

Comments
 (0)