aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-08-21 16:47:48 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-08-21 16:47:48 +0000
commit631e0c0870d98a4b3f97c90a8f3d07d549fdf8fb (patch)
tree9de02fa30d0ff9fe42e794ea4a036cc472726601 /terminal.h
parentosc: fix indexing into 'bright' color array (diff)
term: use colors256 array for *all* colors
That is, remove the 'regular' and 'bright' color arrays. This is possible since the 256-color array is defined such that the first 16 colors map to the regular and bright colors.
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/terminal.h b/terminal.h
index c866679d..a104b897 100644
--- a/terminal.h
+++ b/terminal.h
@@ -285,15 +285,11 @@ struct terminal {
struct {
uint32_t fg;
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;