gitui-org / gitui-org/gitui

Maintain FG colour in selection

Open
#2,304 0 comments 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
Rust
Stars
22.5k
Forks
773
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
Selecting a line overrides its FG colour.

**Describe the solution you'd like**
The FG colour is preserved if `selection_fg` is undefined OR set to a special value, for example `Some("transparent")`.

**Describe alternatives you've considered**
Live with it.

**Additional context**
Note how selected line lost its green highlight:
![image](https://github.com/user-attachments/assets/8cf5650d-6e1f-4e1a-b0f6-83b5cc14f6a2)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.