summaryrefslogtreecommitdiff
path: root/doc/api/tty.md
diff options
context:
space:
mode:
authorSonaySevik <sonaysevik@gmail.com>2017-11-06 16:02:03 +0000
committerRich Trott <rtrott@gmail.com>2017-11-07 10:08:16 +0000
commit37c118810cc18dbd04a8bb253c024abd9081e2bb (patch)
tree36b27d1936a7d47bc17df21424fc21fb6fa5d6c6 /doc/api/tty.md
parent9a1565e41af291bef8cbe4597d2789e64e9bc5b4 (diff)
downloadandroid-node-v8-37c118810cc18dbd04a8bb253c024abd9081e2bb.tar.gz
android-node-v8-37c118810cc18dbd04a8bb253c024abd9081e2bb.tar.bz2
android-node-v8-37c118810cc18dbd04a8bb253c024abd9081e2bb.zip
doc: add isTTY property documentation
PR-URL: https://github.com/nodejs/node/pull/16828 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Diffstat (limited to 'doc/api/tty.md')
-rw-r--r--doc/api/tty.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/api/tty.md b/doc/api/tty.md
index 497f53509d..f91a37a120 100644
--- a/doc/api/tty.md
+++ b/doc/api/tty.md
@@ -47,6 +47,13 @@ added: v0.7.7
A `boolean` that is `true` if the TTY is currently configured to operate as a
raw device. Defaults to `false`.
+### readStream.isTTY
+<!-- YAML
+added: v0.5.8
+-->
+
+A `boolean` that is always `true`.
+
### readStream.setRawMode(mode)
<!-- YAML
added: v0.7.7
@@ -98,6 +105,13 @@ added: v0.7.7
A `number` specifying the number of columns the TTY currently has. This property
is updated whenever the `'resize'` event is emitted.
+### writeStream.isTTY
+<!-- YAML
+added: v0.5.8
+-->
+
+A `boolean` that is always `true`.
+
### writeStream.rows
<!-- YAML
added: v0.7.7