Skip to content

Commit

Permalink
doc: clarify tty.isRaw
Browse files Browse the repository at this point in the history
PR-URL: nodejs#48055
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
  • Loading branch information
jrvidal authored and MoLow committed Jul 6, 2023
1 parent 5c5b1d2 commit 2a4f79a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion doc/api/tty.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down

0 comments on commit 2a4f79a

Please sign in to comment.