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>
This commit is contained in:
parent
9a1565e41a
commit
37c118810c
@ -47,6 +47,13 @@ added: v0.7.7
|
|||||||
A `boolean` that is `true` if the TTY is currently configured to operate as a
|
A `boolean` that is `true` if the TTY is currently configured to operate as a
|
||||||
raw device. Defaults to `false`.
|
raw device. Defaults to `false`.
|
||||||
|
|
||||||
|
### readStream.isTTY
|
||||||
|
<!-- YAML
|
||||||
|
added: v0.5.8
|
||||||
|
-->
|
||||||
|
|
||||||
|
A `boolean` that is always `true`.
|
||||||
|
|
||||||
### readStream.setRawMode(mode)
|
### readStream.setRawMode(mode)
|
||||||
<!-- YAML
|
<!-- YAML
|
||||||
added: v0.7.7
|
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
|
A `number` specifying the number of columns the TTY currently has. This property
|
||||||
is updated whenever the `'resize'` event is emitted.
|
is updated whenever the `'resize'` event is emitted.
|
||||||
|
|
||||||
|
### writeStream.isTTY
|
||||||
|
<!-- YAML
|
||||||
|
added: v0.5.8
|
||||||
|
-->
|
||||||
|
|
||||||
|
A `boolean` that is always `true`.
|
||||||
|
|
||||||
### writeStream.rows
|
### writeStream.rows
|
||||||
<!-- YAML
|
<!-- YAML
|
||||||
added: v0.7.7
|
added: v0.7.7
|
||||||
|
Loading…
x
Reference in New Issue
Block a user