Introduce footer_inheritance option (#14070)

```nu
$env.config.table.footer_inheritance = true
```

close #14060
This commit is contained in:
Maxim Zhiburt
2024-10-23 20:45:47 +03:00
committed by GitHub
parent 619211c1bf
commit 3ec1c40320
8 changed files with 222 additions and 67 deletions

View File

@ -1088,7 +1088,7 @@ fn create_empty_placeholder(
let data = vec![vec![cell]];
let mut table = NuTable::from(data);
table.set_data_style(TextStyle::default().dimmed());
let out = TableOutput::new(table, false, false);
let out = TableOutput::new(table, false, false, false);
let style_computer = &StyleComputer::from_config(engine_state, stack);
let config = create_nu_table_config(&config, style_computer, &out, false, TableMode::default());