Skip to content

Commit fc0c728

Browse files
TrottBethGriggs
authored andcommittedFeb 6, 2020
doc: edit colorMode information
Add information about what it means when colorMode is set to false. PR-URL: #30887 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 768a53f commit fc0c728

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎doc/api/console.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,9 @@ changes:
9999
* `ignoreErrors` {boolean} Ignore errors when writing to the underlying
100100
streams. **Default:** `true`.
101101
* `colorMode` {boolean|string} Set color support for this `Console` instance.
102-
Setting to `true` enables coloring while inspecting values, setting to
103-
`'auto'` will make color support depend on the value of the `isTTY` property
102+
Setting to `true` enables coloring while inspecting values. Setting to
103+
`false` disables coloring while inspecting values. Setting to
104+
`'auto'` makes color support depend on the value of the `isTTY` property
104105
and the value returned by `getColorDepth()` on the respective stream. This
105106
option can not be used, if `inspectOptions.colors` is set as well.
106107
**Default:** `'auto'`.

0 commit comments

Comments
 (0)
Please sign in to comment.