render: hollow-cursor: use correct cursor color

This commit is contained in:
Daniel Eklöf 2024-07-13 10:22:54 +02:00
parent c46c124363
commit 56556e5f23
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 4 additions and 1 deletions

View file

@ -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: