mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-27 07:58:07 -04:00
term: prepare for configurable colors; add color variables to terminal
This commit is contained in:
parent
b18478f9b6
commit
29d855d7c6
5 changed files with 19 additions and 10 deletions
13
terminal.h
13
terminal.h
|
|
@ -259,8 +259,17 @@ struct terminal {
|
|||
bool print_needs_wrap;
|
||||
struct scroll_region scroll_region;
|
||||
|
||||
uint32_t foreground;
|
||||
uint32_t background;
|
||||
struct {
|
||||
uint32_t fg;
|
||||
uint32_t bg;
|
||||
uint32_t regular[8];
|
||||
uint32_t bright[8];
|
||||
|
||||
uint32_t default_fg;
|
||||
uint32_t defualt_bg;
|
||||
uint32_t default_regular[8];
|
||||
uint32_t defualt_bright[8];
|
||||
} colors;
|
||||
|
||||
struct {
|
||||
int col;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue