From 886160ba891e2ebe7b654ec29a359a1bf3a5ba7b Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 23 Apr 2021 21:30:47 +0200 Subject: 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 --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index c329882f..74d29d3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 -- cgit v1.3