diff options
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 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 |