mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-05 07:15:30 -04:00
render: modify background color for highlighted text when fg == bg
When rendering a selected/highlighted cell where the foreground and background colors are the same, invert the background color to make the selected text legible. Closes #455
This commit is contained in:
parent
a614c8f7a2
commit
886160ba89
2 changed files with 9 additions and 0 deletions
|
|
@ -33,6 +33,10 @@
|
|||
* `generate-alt-random-writes.py --sixel`: width and height of emitted
|
||||
sixels has been adjusted.
|
||||
* _Concealed_ text (`\E[8m`) is now revealed when highlighted.
|
||||
* The background color of highlighted text is now adjusted, when the
|
||||
foreground and background colors are the same, making the
|
||||
highlighted text legible
|
||||
(https://codeberg.org/dnkl/foot/issues/455).
|
||||
|
||||
|
||||
### Deprecated
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue