config: make selection foreground/background colors configurable

The default is still to inverse the regular foreground/background
colors.

If the user sets *both* of the new options, selection-foreground and
selection-background, those colors will *always* be used for selected
cells, instead of inverting the regular foreground/background colors.
This commit is contained in:
Daniel Eklöf 2020-08-12 18:53:32 +02:00
parent 156cce6ef6
commit 5e36ebdef8
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 33 additions and 8 deletions

View file

@ -70,6 +70,9 @@ struct config {
uint32_t regular[8];
uint32_t bright[8];
uint16_t alpha;
uint32_t selection_fg;
uint32_t selection_bg;
bool selection_uses_custom_colors;
} colors;
struct {