Merge pull request #85 from jonathandturner/more_table

More table tweaks
This commit is contained in:
Jonathan Turner
2019-06-05 15:55:07 +12:00
committed by GitHub

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