forked from extern/nushell
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
@ -466,7 +466,7 @@ fn expanded_table_kv(cols: &[String], vals: &[Value], opts: Options<'_>) -> Stri
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
let out = TableOutput::new(table, false, true);
|
||||
|
Loading…
Reference in New Issue
Block a user