summaryrefslogtreecommitdiff
path: root/doc/api/tty.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/tty.md')
-rw-r--r--doc/api/tty.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/tty.md b/doc/api/tty.md
index 7111f2d228..f2de746667 100644
--- a/doc/api/tty.md
+++ b/doc/api/tty.md
@@ -178,6 +178,7 @@ added: v9.9.0
* Returns: {number}
Returns:
+
* `1` for 2,
* `4` for 16,
* `8` for 256,
@@ -205,6 +206,7 @@ Disabling color support is also possible by using the `NO_COLOR` and
<!-- YAML
added: v0.7.7
-->
+
* Returns: {number[]}
`writeStream.getWindowSize()` returns the size of the [TTY](tty.html)