mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-06-01 21:38:16 -04:00
terminal: move fore/background colors from grid to terminal
This commit is contained in:
parent
3d2ab03f62
commit
8723098cda
3 changed files with 11 additions and 12 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue