mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: hollow-cursor: use correct cursor color
This commit is contained in:
parent
c46c124363
commit
56556e5f23
2 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
2
render.c
2
render.c
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue