terminal: move fore/background colors from grid to terminal

This commit is contained in:
Daniel Eklöf 2019-06-29 21:09:58 +02:00
parent 3d2ab03f62
commit 8723098cda
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 11 additions and 12 deletions

View file

@ -71,9 +71,6 @@ struct grid {
int col;
} alt_saved_cursor;
struct rgba foreground;
struct rgba background;
tll(struct damage) damage;
tll(struct damage) scroll_damage;
};
@ -152,6 +149,8 @@ struct terminal {
struct scroll_region scroll_region;
struct rgba foreground;
struct rgba background;
};
void term_damage_all(struct terminal *term);