terminal: move print_needs_wrap from grid to terminal

This commit is contained in:
Daniel Eklöf 2019-06-29 21:16:06 +02:00
parent a8f4cb55af
commit 8cff861f38
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 4 additions and 5 deletions

View file

@ -210,7 +210,7 @@ term_cursor_to(struct terminal *term, int row, int col)
term_damage_update(term, term->cursor.linear, 1);
term_damage_update(term, new_linear, 1);
term->grid.print_needs_wrap = false;
term->print_needs_wrap = false;
term->cursor.linear = new_linear;
term->cursor.col = col;