aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-21 09:32:35 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-21 09:32:35 +0000
commit16979927bacb617ef6c8cccb013ee6ff9eb93f78 (patch)
treeb2636e6e5ee897a1e6821141577475f9f0f6512d /render.c
parentcsi: use colors from terminal struct (diff)
csi: pick 16 first 256-colors directly from the term struct
The 16 first entries in the 256-color array are the regular and bright colors. However, since they can be changed (eventually) at runtime, we can't statically initialize the 256-color array. Instead, pick the regular+bright colors directly from the terminal struct. I.e. the first 16 entries of the 256-color array are now unused.
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions