aboutsummaryrefslogtreecommitdiff
path: root/vt.c
diff options
context:
space:
mode:
Diffstat (limited to 'vt.c')
-rw-r--r--vt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vt.c b/vt.c
index 92991672..c6d05d46 100644
--- a/vt.c
+++ b/vt.c
@@ -670,7 +670,7 @@ action(struct terminal *term, enum action action, uint8_t c)
break;
case ACTION_PRINT: {
- if (term->grid.print_needs_wrap) {
+ if (term->print_needs_wrap) {
if (term->cursor.row == term->scroll_region.end - 1) {
term_scroll(term, 1);
term_cursor_to(term, term->cursor.row, 0);
@@ -697,7 +697,7 @@ action(struct terminal *term, enum action action, uint8_t c)
if (term->cursor.col < term->cols - 1)
term_cursor_right(term, 1);
else
- term->grid.print_needs_wrap = true;
+ term->print_needs_wrap = true;
break;
}