aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index bc47420f..f11d6ee3 100644
--- a/main.c
+++ b/main.c
@@ -97,7 +97,7 @@ grid_render(struct context *c)
cell->dirty = false;
- bool has_cursor = c->term.grid.cursor == cell_idx;
+ bool has_cursor = c->term.grid.linear_cursor == cell_idx;
int y_ofs = row * c->term.grid.cell_height + c->fextents.ascent;
int x_ofs = col * c->term.grid.cell_width;