Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2a4f79a

Browse filesBrowse 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
Copy full SHA for 2a4f79a

File tree

Expand file treeCollapse file tree

1 file changed

+5
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/tty.md‎

Copy file name to clipboardExpand all lines: doc/api/tty.md
+5-1Lines changed: 5 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.