We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93f0ed0 commit 3fa1fb1Copy full SHA for 3fa1fb1
lib/chalk.js
@@ -3,8 +3,8 @@ var style = require('ansi-styles');
3
var supportsColor = require('supports-color');
4
5
var chalk = {
6
- enabled: supportsColor,
7
- use256: supportsColor && supportsColor.has256,
+ enabled: supportsColor.stdout,
+ use256: supportsColor.stdout && supportsColor.stdout.has256,
8
themes: {},
9
theme: {}
10
};
0 commit comments