Skip to content

Commit 255517c

Browse files
committed
Also respect general.table.headers.cols[*].style
1 parent 9844ae1 commit 255517c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ui.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,10 @@ fn draw_table<B: Backend>(
832832
.to_owned()
833833
.unwrap_or_default()
834834
.iter()
835-
.map(|c| Cell::from(c.format.to_owned().unwrap_or_default()))
835+
.map(|c| {
836+
Cell::from(c.format.to_owned().unwrap_or_default())
837+
.style(c.style.to_owned().into())
838+
})
836839
.collect::<Vec<Cell>>(),
837840
)
838841
.height(header_height)

0 commit comments

Comments
 (0)