GeezerVison is showing github.com — doc: add isTTY property documentation · nodejs/node@14ffddd
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/tty.md +14Lines changed: 14 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -47,6 +47,13 @@ added: v0.7.7 |
47 | 47 | A `boolean` that is `true` if the TTY is currently configured to operate as a |
48 | 48 | raw device. Defaults to `false`. |
49 | 49 |
|
| 50 | +### readStream.isTTY |
| 51 | +<!-- YAML |
| 52 | +added: v0.5.8 |
| 53 | +--> |
| 54 | + |
| 55 | +A `boolean` that is always `true`. |
| 56 | + |
50 | 57 | ### readStream.setRawMode(mode) |
51 | 58 | <!-- YAML |
52 | 59 | added: v0.7.7 |
@@ -98,6 +105,13 @@ added: v0.7.7 |
98 | 105 | A `number` specifying the number of columns the TTY currently has. This property |
99 | 106 | is updated whenever the `'resize'` event is emitted. |
100 | 107 |
|
| 108 | +### writeStream.isTTY |
| 109 | +<!-- YAML |
| 110 | +added: v0.5.8 |
| 111 | +--> |
| 112 | + |
| 113 | +A `boolean` that is always `true`. |
| 114 | + |
101 | 115 | ### writeStream.rows |
102 | 116 | <!-- YAML |
103 | 117 | added: v0.7.7 |
|