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

@ -62,8 +62,6 @@ struct damage {
};
struct grid {
bool print_needs_wrap;
struct cell *cells;
struct cell *normal_grid;
struct cell *alt_grid;
@ -144,6 +142,7 @@ struct terminal {
int cell_width;
int cell_height;
bool print_needs_wrap;
struct scroll_region scroll_region;
struct rgba foreground;