diff options
author | SonaySevik <sonaysevik@gmail.com> | 2017-11-06 19:02:03 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2017-11-07 13:08:16 +0300 |
commit | 37c118810cc18dbd04a8bb253c024abd9081e2bb (patch) | |
tree | 36b27d1936a7d47bc17df21424fc21fb6fa5d6c6 /doc/api/tty.md | |
parent | 9a1565e41af291bef8cbe4597d2789e64e9bc5b4 (diff) |
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.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/api/tty.md b/doc/api/tty.md index 497f53509d5..f91a37a1209 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 |