Skip to content

Commit 169a3d5

Browse files
Trotttargos
authored andcommitted
doc: edit colorMode information
Add information about what it means when colorMode is set to false. PR-URL: #30887 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 2155f56 commit 169a3d5

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)