diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2018-01-16 13:20:13 +0100 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2018-01-24 13:07:35 +0100 |
commit | bb9cedb0f07c4f74cada172845f2aea197efa456 (patch) | |
tree | 9e9c47a1d27e30149336b6102fe67f662fff25c4 /COLLABORATOR_GUIDE.md | |
parent | 19bff313be3fc2a6f4f91fcfc7369c74ace33984 (diff) | |
download | node-new-bb9cedb0f07c4f74cada172845f2aea197efa456.tar.gz |
tty: add getColorDepth function
Right now it is very difficult to determine if a terminal supports
colors or not. This function adds this functionality by detecting
environment variables and checking process.
PR-URL: https://github.com/nodejs/node/pull/17615
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'COLLABORATOR_GUIDE.md')
0 files changed, 0 insertions, 0 deletions