From 631e0c0870d98a4b3f97c90a8f3d07d549fdf8fb Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 21 Aug 2019 18:47:48 +0200 Subject: 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. --- terminal.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'terminal.h') 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; -- cgit v1.3