Skip to content

Commit 978aa84

Browse files
sonaysevikcjihrig
authored andcommitted
doc: add isTTY property documentation
PR-URL: #16828 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Sam Roberts <[email protected]>
1 parent a409b87 commit 978aa84

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

doc/api/tty.md

+14
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ added: v0.7.7
4747
A `boolean` that is `true` if the TTY is currently configured to operate as a
4848
raw device. Defaults to `false`.
4949

50+
### readStream.isTTY
51+
<!-- YAML
52+
added: v0.5.8
53+
-->
54+
55+
A `boolean` that is always `true`.
56+
5057
### readStream.setRawMode(mode)
5158
<!-- YAML
5259
added: v0.7.7
@@ -98,6 +105,13 @@ added: v0.7.7
98105
A `number` specifying the number of columns the TTY currently has. This property
99106
is updated whenever the `'resize'` event is emitted.
100107

108+
### writeStream.isTTY
109+
<!-- YAML
110+
added: v0.5.8
111+
-->
112+
113+
A `boolean` that is always `true`.
114+
101115
### writeStream.rows
102116
<!-- YAML
103117
added: v0.7.7

0 commit comments

Comments
 (0)