added row_index coloring (#391)

This commit is contained in:
Darren Schroeder
2021-12-01 09:17:50 -06:00
committed by GitHub
parent b8f1fea7fe
commit 7cf96c6597
3 changed files with 8 additions and 7 deletions

View File

@ -640,7 +640,7 @@ impl WrappedTable {
let column_count = self.column_widths.len();
let mut output = String::new();
let sep_color = color_hm
.get("separator_color")
.get("separator")
.unwrap_or(&Style::default())
.to_owned();
@ -789,7 +789,7 @@ impl WrappedTable {
color_hm: &HashMap<String, Style>,
) -> String {
let sep_color = color_hm
.get("separator_color")
.get("separator")
.unwrap_or(&Style::default())
.to_owned();