Also respect general.table.headers.cols[*].style

pull/649/head
Arijit Basu 10 months ago
parent 9844ae1476
commit 255517c2a9
No known key found for this signature in database
GPG Key ID: 0F8EF5258DC38077

@ -832,7 +832,10 @@ fn draw_table<B: Backend>(
.to_owned()
.unwrap_or_default()
.iter()
.map(|c| Cell::from(c.format.to_owned().unwrap_or_default()))
.map(|c| {
Cell::from(c.format.to_owned().unwrap_or_default())
.style(c.style.to_owned().into())
})
.collect::<Vec<Cell>>(),
)
.height(header_height)

Loading…
Cancel
Save