1
0
mirror of https://github.com/nushell/nushell.git synced 2025-07-04 00:21:35 +02:00
close 

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:
Maxim Zhiburt
2023-06-29 01:52:04 +03:00
committed by GitHub
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 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);