mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +00:00
close #9548 Could you verify @fdncred the fix? PS: Maybe a test shall be created (to test proper colors)? Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
This commit is contained in:
parent
b44926d597
commit
b52e31fac2
1 changed files with 1 additions and 1 deletions
|
@ -466,7 +466,7 @@ fn expanded_table_kv(cols: &[String], vals: &[Value], opts: Options<'_>) -> Stri
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut table = NuTable::from(data);
|
let mut table = NuTable::from(data);
|
||||||
let keys_style = get_index_style(opts.style_computer).alignment(Alignment::Left);
|
let keys_style = get_header_style(opts.style_computer).alignment(Alignment::Left);
|
||||||
table.set_index_style(keys_style);
|
table.set_index_style(keys_style);
|
||||||
|
|
||||||
let out = TableOutput::new(table, false, true);
|
let out = TableOutput::new(table, false, true);
|
||||||
|
|
Loading…
Reference in a new issue