diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-06-29 19:16:06 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-06-29 19:16:06 +0000 |
| commit | 8cff861f38c3b82a1504d88a8a067bc32dc10da7 (patch) | |
| tree | b6c8bd2f481709f1b47252e3e87fa82d1df2ee99 /vt.c | |
| parent | terminal: move cursor from grid to terminal (diff) | |
terminal: move print_needs_wrap from grid to terminal
Diffstat (limited to 'vt.c')
| -rw-r--r-- | vt.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |
