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
commit 3b57c53c80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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