From 515a3b33f82809388dc858b090ad7c8f5b08c5b7 Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Thu, 9 Jan 2020 12:33:02 -0800 Subject: [PATCH] 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. --- src/format/table.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/format/table.rs b/src/format/table.rs index 9e317135c8..9d5d1464a1 100644 --- a/src/format/table.rs +++ b/src/format/table.rs @@ -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(), );