Skip to content

Commit

Permalink
doc: clarify tty.isRaw
Browse files Browse the repository at this point in the history
PR-URL: #48055
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
  • Loading branch information
jrvidal authored and danielleadams committed Jul 6, 2023
1 parent a0d14b0 commit 9daa3c3
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 9daa3c3

Please sign in to comment.