p-ranav / tabulate

Table Maker for Modern C++
MIT License
1.93k stars 138 forks source link

How to apply font style to borders and corners ? #30

Open jfalcou opened 4 years ago

jfalcou commented 4 years ago

Looks like setting .font_style({tabulate::FontStyle::bold}) don't affect border nor corner. Is it intended?

p-ranav commented 4 years ago

Currently you can't set the style for border and corners - only because I didn't need it at the time of implementation.

There's no reason not to support this though. I can add to the current API, e.g., .border_style({...}) with support for explicit styling like border_bottom_style({...}) or corner_top_right_style({...}).

jfalcou commented 4 years ago

Sounds perfect.