has-color => supports-color
This commit is contained in:
parent
90f012c793
commit
144421dc16
3 changed files with 5 additions and 5 deletions
|
|
@ -84,7 +84,7 @@ Color support is automatically detected, but you can override it.
|
|||
|
||||
### chalk.supportsColor
|
||||
|
||||
Detect whether the terminal [supports color](https://github.com/sindresorhus/has-color).
|
||||
Detect whether the terminal [supports color](https://github.com/sindresorhus/supports-color).
|
||||
|
||||
Can be overridden by the user with the flags `--color` and `--no-color`.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue