Thin-lines for tables for better rendering (#1181)

The thick lines are pretty subtle and some fonts have issues with it. Seems keeping the lines consistent works better across fonts.
This commit is contained in:
Jonathan Turner 2020-01-09 12:33:02 -08:00 committed by GitHub
parent c3e466e464
commit 515a3b33f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -350,9 +350,9 @@ impl RenderView for TableView {
table.set_format(
FormatBuilder::new()
.column_separator('│')
.separator(LinePosition::Top, LineSeparator::new('━', '┯', ' ', ' '))
.separator(LinePosition::Top, LineSeparator::new('─', '┬', ' ', ' '))
.separator(LinePosition::Title, LineSeparator::new('─', '┼', ' ', ' '))
.separator(LinePosition::Bottom, LineSeparator::new('━', '┷', ' ', ' '))
.separator(LinePosition::Bottom, LineSeparator::new('─', '┴', ' ', ' '))
.padding(1, 1)
.build(),
);