aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-08-21 15:56:21 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-08-21 15:56:21 +0000
commitd7aaeaedee981371f1137c058b60322155e9ba00 (patch)
tree68e8768734ec877b09bed43f533111bf62ce9263 /terminal.h
parentmain: fix debug logs (diff)
csi: move 256-color table into the terminal struct
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index 02caec6b..c866679d 100644
--- a/terminal.h
+++ b/terminal.h
@@ -287,12 +287,14 @@ struct terminal {
uint32_t bg;
uint32_t regular[8];
uint32_t bright[8];
+ uint32_t colors256[256];
double alpha;
uint32_t default_fg;
uint32_t default_bg;
uint32_t default_regular[8];
uint32_t default_bright[8];
+ uint32_t default_colors256[256];
} colors;
struct {