More table tweaks

This commit is contained in:
Jonathan Turner 2019-06-05 15:54:34 +12:00
parent c6dba7893c
commit 3a3479e6b5

View File

@ -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);