]> granicus.if.org Git - procps-ng/commit
top: a tweak to the recent 256-color termninal support
authorJim Warner <james.warner@comcast.net>
Fri, 8 Jun 2018 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Sat, 9 Jun 2018 11:45:38 +0000 (21:45 +1000)
commit80f9815f5fdb61d5e554a8882ec8fad53a506d20
tree3f2fd0a6bf67a18015eb40911f0fcc1ea4944491
parent5705866fb698c8da3816ce57af264cd3f4bdf0c4
top: a tweak to the recent 256-color termninal support

We now use the actual terminfo 'max_colors' value with
the 'color mapping' screen, not that hard coded '256'.

Reference(s):
https://gitlab.com/procps-ng/procps/issues/96

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c
top/top_nls.c