Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-04-29 20:46:41 +0300
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-05-03 02:12:07 +0300
commit7588ceaf353af0f257d4d832bace4600edac704e (patch)
treecd01b69085d5c1134c43e61d8acc84586d1a188d /doc/api/tty.md
parentbdf5be98dd901f6c312938198439dbda0b20d517 (diff)
doc: add more missing backticks
Also, fix some other nits in passing (formatting, punctuation, typos, redundancy, obsoleteness). PR-URL: https://github.com/nodejs/node/pull/20438 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc/api/tty.md')
-rw-r--r--doc/api/tty.md10
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