aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
authorS. Gilles <sgilles@math.umd.edu>2017-01-01 12:39:36 -0500
committerS. Gilles <sgilles@math.umd.edu>2017-01-01 16:09:34 -0500
commit79565b0f7a843dd772c2601c9e6a3f7fbd7c655d (patch)
tree9bfceaf0d38e36d750883c1afaed772b5b2bcd54 /vis.c
parent71419dc5405644de562c6036a4d2c41c7f91fd1b (diff)
downloadvis-79565b0f7a843dd772c2601c9e6a3f7fbd7c655d.tar.gz
vis-79565b0f7a843dd772c2601c9e6a3f7fbd7c655d.tar.xz
ui: use accurate colors when available
When ncurses reports can_change_color(), have color_find_rgb() define use the exact color requested by modifying ncurses' current palette. Make an honest effort at restoring this palette on shutdown, though we can't be positive it's correct.
Diffstat (limited to 'vis.c')
0 files changed, 0 insertions, 0 deletions