mirror of https://github.com/nodejs/node.git
doc: add missing comma in tty
PR-URL: https://github.com/nodejs/node/pull/37039 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
d7640a37b2
commit
61f3b71d98
|
@ -17,7 +17,7 @@ const tty = require('tty');
|
|||
When Node.js detects that it is being run with a text terminal ("TTY")
|
||||
attached, [`process.stdin`][] will, by default, be initialized as an instance of
|
||||
`tty.ReadStream` and both [`process.stdout`][] and [`process.stderr`][] will, by
|
||||
default be instances of `tty.WriteStream`. The preferred method of determining
|
||||
default, be instances of `tty.WriteStream`. The preferred method of determining
|
||||
whether Node.js is being run within a TTY context is to check that the value of
|
||||
the `process.stdout.isTTY` property is `true`:
|
||||
|
||||
|
|
Loading…
Reference in New Issue