From 0f48b4f8f70b10c48f934d4354ed15dd0ed5cb70 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 29 Jun 2019 21:23:36 +0200 Subject: terminal: prepare for floating grids --- vt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vt.c') diff --git a/vt.c b/vt.c index c6d05d46..cb0b8a90 100644 --- a/vt.c +++ b/vt.c @@ -678,7 +678,7 @@ action(struct terminal *term, enum action action, uint8_t c) term_cursor_to(term, term->cursor.row + 1, 0); } - struct cell *cell = &term->grid.cells[term->cursor.linear]; + struct cell *cell = &term->grid->cells[term->cursor.linear]; term_damage_update(term, term->cursor.linear, 1); if (term->vt.utf8.idx > 0) { -- cgit v1.3