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

@ -28,6 +28,8 @@
* **mouse.hide-when-typing** option to `footrc`.
* **scrollback.multiplier** option to `footrc`
(https://codeberg.org/dnkl/foot/issues/54).
* **colors.selection-foreground** and **colors.selection-background**
options to `footrc`.
### Deprecated