aboutsummaryrefslogtreecommitdiff
path: root/vt.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-06-29 19:23:36 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-06-29 19:30:54 +0000
commit0f48b4f8f70b10c48f934d4354ed15dd0ed5cb70 (patch)
tree1688f7cea1dc044629cc423bbfb936a245f61fe1 /vt.c
parentterminal: move print_needs_wrap from grid to terminal (diff)
terminal: prepare for floating grids
Diffstat (limited to 'vt.c')
-rw-r--r--vt.c2
1 files changed, 1 insertions, 1 deletions
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) {