diff options
Diffstat (limited to 'doc/api/tty.md')
-rw-r--r-- | doc/api/tty.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/tty.md b/doc/api/tty.md index f8bc4feec3e..91bca8284d9 100644 --- a/doc/api/tty.md +++ b/doc/api/tty.md @@ -126,15 +126,15 @@ is updated whenever the `'resize'` event is emitted. added: v9.9.0 --> -* `env` {Object} A object containing the environment variables to check. +* `env` {Object} An object containing the environment variables to check. **Default:** `process.env`. * Returns: {number} Returns: -* 1 for 2, -* 4 for 16, -* 8 for 256, -* 24 for 16,777,216 +* `1` for 2, +* `4` for 16, +* `8` for 256, +* `24` for 16,777,216 colors supported. Use this to determine what colors the terminal supports. Due to the nature of |