gizak / termui

Golang terminal dashboard
MIT License
13.16k stars 787 forks source link

Enable paragraph styles to use all terminal colors, not just named colors #262

Open codegold79 opened 4 years ago

codegold79 commented 4 years ago

In variable StyleParserColorMap in style_parser.go, there is only support for eight colors. I would like the color set to be expanded to all 256 available terminal colors.

The ParseStyles function is what is used to apply styles to paragraphs.