Skip to content

Commit

Permalink
doc: add isTTY property documentation
Browse files Browse the repository at this point in the history
PR-URL: #16828
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
  • Loading branch information
sonaysevik authored and MylesBorins committed Nov 16, 2017
1 parent ec4c3f5 commit fab5598
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/api/tty.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fab5598

Please sign in to comment.