mirror of
https://github.com/nushell/nushell.git
synced 2025-04-11 23:08:20 +02:00
Add space to bottom of table in 'light' mode (#1871)
This commit is contained in:
parent
9e6ab33fd7
commit
460daf029b
@ -262,6 +262,7 @@ pub fn autoview(context: RunnableContext) -> Result<OutputStream, ShellError> {
|
||||
table.set_format(
|
||||
FormatBuilder::new()
|
||||
.separator(LinePosition::Title, LineSeparator::new('─', '─', ' ', ' '))
|
||||
.separator(LinePosition::Bottom, LineSeparator::new(' ', ' ', ' ', ' '))
|
||||
.padding(1, 1)
|
||||
.build(),
|
||||
);
|
||||
|
@ -357,6 +357,7 @@ impl RenderView for TableView {
|
||||
table.set_format(
|
||||
FormatBuilder::new()
|
||||
.separator(LinePosition::Title, LineSeparator::new('─', '─', ' ', ' '))
|
||||
.separator(LinePosition::Bottom, LineSeparator::new(' ', ' ', ' ', ' '))
|
||||
.padding(1, 1)
|
||||
.build(),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user