Skip to content

Commit

Permalink
Fix #9548 (#9552)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
zhiburt committed Jun 28, 2023
1 parent b44926d commit b52e31f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/nu-table/src/types/expanded.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b52e31f

Please sign in to comment.