diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-07-13 08:22:54 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-07-13 08:37:21 +0000 |
| commit | 56556e5f237025619820a3c8595e0de9d2b1c230 (patch) | |
| tree | 588e6ba0297235714f2952db09f038ad26ef5140 | |
| parent | render: cursor: use default fg/bg if cell fg/bg are the same (diff) | |
render: hollow-cursor: use correct cursor color
| -rw-r--r-- | CHANGELOG.md | 3 | ||||
| -rw-r--r-- | render.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 12bac7be..38f8d7a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -117,6 +117,9 @@ * Crash in debug builds, when using OSC-12 to set the cursor color and foot config has not set any custom cursor colors (i.e. without OSC-12, inverted fg/bg would be used). +* Wrong color used when drawing the unfocused, hollow cursor. +* Encoding of `BTN_BACK` and `BTN_FORWARD`, when sending a mouse input + escape sequence to the terminal application. [1694]: https://codeberg.org/dnkl/foot/issues/1694 [1717]: https://codeberg.org/dnkl/foot/issues/1717 @@ -600,7 +600,7 @@ draw_cursor(const struct terminal *term, const struct cell *cell, break; case CURSOR_UNFOCUSED_HOLLOW: - draw_hollow_block(term, pix, fg, x, y, cols); + draw_hollow_block(term, pix, &cursor_color, x, y, cols); return; case CURSOR_UNFOCUSED_NONE: |
