gizak / termui

Golang terminal dashboard
MIT License
13.06k stars 783 forks source link

List: Color Doesn't work for the First Items #248

Open theniceboy opened 4 years ago

theniceboy commented 4 years ago

No matter what order I put in for Rows in widgets.List, the color wouldn't work for the first items. The first item would display normally, but in the default white color even if I put something like

"[text](fg:green)"
meox commented 4 years ago

any news on this?

theniceboy commented 4 years ago

@meox I'm switched to awesome-gocui because this issue makes this library unviable for me. I don't think this repo is being maintained anymore though...

meox commented 4 years ago

I found the problem ... the SelectedRowStyle override your color!

JJPell commented 3 years ago

Is it possible to disable the SelectedRow or SelectedRowStyle to solve this?