Closed leahneukirchen closed 1 year ago
This looks good to me... but PRs should target the next
branch. If you update this to target next
I will land it.
Why not use terminfo? It will tell you whether the terminal has 8, 88 or 256 colors (8 color terminals are usually misidentified as 16 color terminals, which do not exist).
I just checked my WSL and Rocky 9 servers and neither have any info in /etc/terminfo
ISSUE TYPE
DSTAT VERSION
master
SUMMARY
Add back support for 16 color terminals, with
--color16
. It is selected by default if the terminal doesn't report 256 colors.Fixes #18.