aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2026-05-11 12:14:46 +0000
committerDaniel Eklöf <daniel@ekloef.se>2026-05-12 14:40:24 +0000
commitcc6b29fe3a98a1575af4eb6644504a2fff619b5c (patch)
treeccbaf9bd801e51427614a50a6fe62c6f72b1a31d /CHANGELOG.md
parentsearch/url/unicode-mode: set last-shortcut-sym (diff)
render: cursor: improve handling of fg == bg
We already detect if the final cursor colors (foreground/background) are identical. If they were, we replaced them with the default fg/bg. Unfortunately, this can still result in an invisible cursor. For example, if the current cell's default bg matches the current cell's fg. Instead, update the colors in two steps: 1. First, use the provided (cell's) fg/bg 2. If they too match, invert the cursor color This should ensure the cursor is always visible Closes #2323
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 675e135f..a7cb54b2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -83,6 +83,12 @@
* URL underlines are now dotted by default, instead of plain
underlines. This can be changed with the new `url.style` option.
+* If the cursor foreground and background colors are identical, use
+ the current cell's foreground and background colors (inverted),
+ instead of the default foreground and background colors
+ ([#2323][2323]).
+
+[2323]: https://codeberg.org/dnkl/foot/issues/2323
### Deprecated