mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-04 07:15:29 -04:00
render: bug: don't render cursor when hide cursor is enabled
This commit is contained in:
parent
d944274f14
commit
7dd80b08b3
1 changed files with 1 additions and 1 deletions
2
render.c
2
render.c
|
|
@ -318,7 +318,7 @@ grid_render(struct terminal *term)
|
||||||
cursor_is_visible = true;
|
cursor_is_visible = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cursor_is_visible) {
|
if (cursor_is_visible && !term->hide_cursor) {
|
||||||
render_cell(
|
render_cell(
|
||||||
term, buf,
|
term, buf,
|
||||||
&grid_row_in_view(term->grid, term->cursor.row)->cells[term->cursor.col],
|
&grid_row_in_view(term->grid, term->cursor.row)->cells[term->cursor.col],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue