prettytable-rs icon indicating copy to clipboard operation
prettytable-rs copied to clipboard

Support styling options / colors for borders and separators

Open sergiimk opened this issue 5 years ago • 2 comments

Currently looks like it's impossible to stylize borders and separators. Since those are also stored as char it's also impossible to to directly inline ANSI colors in those when creating a custom TableFormat.

Would be great if FormatBuilder supported had API like .border_style(Attr::Dim).

sergiimk avatar Aug 16 '20 02:08 sergiimk

+1. very interested in this feature as well

divi255 avatar Feb 19 '21 12:02 divi255

Feel free to send a PR :)

Also keen to get the term switched with termcolor or yansi or owo-colors or crossterm if you're up to it.

Thinking that the whole color thing should be feature-gated but as default-on.

pinkforest avatar Dec 27 '22 11:12 pinkforest