Skip to content

Commit 2a4f79a

Browse files
jrvidalMoLow
authored andcommitted
doc: clarify tty.isRaw
PR-URL: #48055 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
1 parent 5c5b1d2 commit 2a4f79a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/api/tty.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,11 @@ added: v0.7.7
5151
-->
5252

5353
A `boolean` that is `true` if the TTY is currently configured to operate as a
54-
raw device. Defaults to `false`.
54+
raw device.
55+
56+
This flag is always `false` when a process starts, even if the terminal is
57+
operating in raw mode. Its value will change with subsequent calls to
58+
`setRawMode`.
5559

5660
### `readStream.isTTY`
5761

0 commit comments

Comments
 (0)