Previously, FORCE_COLOR was used as a floor value and terminal detection could return a higher level. For example, FORCE_COLOR=1 on a truecolor terminal would still give level 3. Now when FORCE_COLOR is set to a specific level (1, 2, or 3), that exact level is returned without further terminal capability checks. Fixes #624 |
||
|---|---|---|
| .. | ||
| _fixture.js | ||
| _force-color-fixture.js | ||
| chalk.js | ||
| force-color.js | ||
| instance.js | ||
| level.js | ||
| no-color-support.js | ||
| visible.js | ||