From 3a3479e6b5b84c97f096814a4bd27c823e28f31a Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Wed, 5 Jun 2019 15:54:34 +1200 Subject: [PATCH] More table tweaks --- src/format/table.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/format/table.rs b/src/format/table.rs index c4fb6f9fc1..a1530f0922 100644 --- a/src/format/table.rs +++ b/src/format/table.rs @@ -55,7 +55,8 @@ impl RenderView for TableView { let mut table = Table::new(); let fb = FormatBuilder::new() - .separator(LinePosition::Top, LineSeparator::new(' ', ' ', ' ', ' ')) + .separator(LinePosition::Top, LineSeparator::new('-', '+', ' ', ' ')) + .separator(LinePosition::Bottom, LineSeparator::new('-', '+', ' ', ' ')) .separator(LinePosition::Title, LineSeparator::new('-', '+', '|', '|')) .column_separator('|') .padding(1, 1);