aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 460f36e4..a29f5d8c 100644
--- a/main.c
+++ b/main.c
@@ -134,7 +134,8 @@ grid_render_update(struct context *c, struct buffer *buf, const struct damage *d
/* Cursor here? */
bool has_cursor
- = c->term.cursor.linear == linear_cursor - c->term.grid->offset;
+ = (!c->term.hide_cursor &&
+ (c->term.cursor.linear == linear_cursor - c->term.grid->offset));
int x = col * c->term.cell_width;
int y = row * c->term.cell_height;