termui icon indicating copy to clipboard operation
termui copied to clipboard

List: Color Doesn't work for the First Items

Open theniceboy opened this issue 6 years ago • 4 comments

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)"

theniceboy avatar Oct 11 '19 20:10 theniceboy

any news on this?

meox avatar Jun 05 '20 20:06 meox

@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...

theniceboy avatar Jun 05 '20 20:06 theniceboy

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

meox avatar Jun 05 '20 20:06 meox

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

JJPell avatar Mar 12 '21 13:03 JJPell