[GH-ISSUE #154] FR: customize table selection FG/BG colors #122

Closed
opened 2026-03-04 01:02:09 +03:00 by kerem · 3 comments
Owner

Originally created by @askovpen on GitHub (Aug 8, 2018).
Original GitHub issue: https://github.com/rivo/tview/issues/154

plz add option to customize foreground/background color of selected cells.

Originally created by @askovpen on GitHub (Aug 8, 2018). Original GitHub issue: https://github.com/rivo/tview/issues/154 plz add option to customize foreground/background color of selected cells.
kerem closed this issue 2026-03-04 01:02:09 +03:00
Author
Owner

@rivo commented on GitHub (Aug 12, 2018):

Please let me know in which case this is needed and how the current implementation is insufficient for you. It would be good if you could include an example, maybe a screenshot or code.

<!-- gh-comment-id:412358038 --> @rivo commented on GitHub (Aug 12, 2018): Please let me know in which case this is needed and how the current implementation is insufficient for you. It would be good if you could include an example, maybe a screenshot or code.
Author
Owner

@askovpen commented on GitHub (Aug 12, 2018):

I have:

image

i want:

image

<!-- gh-comment-id:412358481 --> @askovpen commented on GitHub (Aug 12, 2018): I have: ![image](https://user-images.githubusercontent.com/1572969/44004641-1f12992a-9e6e-11e8-8cd3-5581e4fa4171.png) i want: ![image](https://user-images.githubusercontent.com/1572969/44004644-31cc0682-9e6e-11e8-82d7-c06d7de7859c.png)
Author
Owner

@rivo commented on GitHub (Sep 5, 2018):

Apologies for the late response. It was a pretty busy time for me.

Anyway, I've added a new function Table.SetSelectedStyle() which should achieve what you're trying to do.

<!-- gh-comment-id:418648804 --> @rivo commented on GitHub (Sep 5, 2018): Apologies for the late response. It was a pretty busy time for me. Anyway, I've added a new function `Table.SetSelectedStyle()` which should achieve what you're trying to do.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#122
No description provided.