doc: clarify tty.isRaw

PR-URL: https://github.com/nodejs/node/pull/48055
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
This commit is contained in:
Roberto Vidal authored and Michaël Zasso committed 2023-05-30 11:36:18 +02:00
1 parent 0ac4b33c76
commit 415bf7f532
1 file changed
+5 -1
+5 -1
View File
@@ -51,7 +51,11 @@ added: v0.7.7
-->
A `boolean` that is `true` if the TTY is currently configured to operate as a
raw device. Defaults to `false`.
raw device.
This flag is always `false` when a process starts, even if the terminal is
operating in raw mode. Its value will change with subsequent calls to
`setRawMode`.
### `readStream.isTTY`