File tree Expand file tree Collapse file tree 3 files changed +1
-18
lines changed Expand file tree Collapse file tree 3 files changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -393,16 +393,6 @@ Path to the file used to store the persistent REPL history. The default path is
393393to an empty string (` "" ` or ` " " ` ) disables persistent REPL history.
394394
395395
396- ### ` NODE_TTY_UNSAFE_ASYNC=1 `
397- <!-- YAML
398- added: v6.4.0
399- -->
400-
401- When set to ` 1 ` , writes to ` stdout ` and ` stderr ` will be non-blocking and
402- asynchronous when outputting to a TTY on platforms which support async stdio.
403- Setting this will void any guarantee that stdio will not be interleaved or
404- dropped at program exit. ** Use of this mode is not recommended.**
405-
406396### ` NODE_EXTRA_CA_CERTS=file `
407397<!-- YAML
408398added: v7.3.0
Original file line number Diff line number Diff line change @@ -260,13 +260,6 @@ Path to the file used to store the persistent REPL history. The default path
260260is \fB ~/.node_repl_history \fR , which is overridden by this variable. Setting the
261261value to an empty string ("" or " ") disables persistent REPL history.
262262
263- .TP
264- .BR NODE_TTY_UNSAFE_ASYNC =\fI 1 \fR
265- When set to \fI 1 \fR , writes to stdout and stderr will be non-blocking and
266- asynchronous when outputting to a TTY on platforms which support async stdio.
267- Setting this will void any guarantee that stdio will not be interleaved or
268- dropped at program exit. \fB Avoid use. \fR
269-
270263.TP
271264.BR OPENSSL_CONF = \fI file \fR
272265Load an OpenSSL configuration file on startup. Among other uses, this can be
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ function WriteStream(fd) {
7474 // this behaviour has become expected due historical functionality on OS X,
7575 // even though it was originally intended to change in v1.0.2 (Libuv 1.2.1).
7676 // Ref: https://github.com/nodejs/node/pull/1771#issuecomment-119351671
77- this . _handle . setBlocking ( process . env . NODE_TTY_UNSAFE_ASYNC !== '1' ) ;
77+ this . _handle . setBlocking ( true ) ;
7878
7979 var winSize = new Array ( 2 ) ;
8080 var err = this . _handle . getWindowSize ( winSize ) ;
You can’t perform that action at this time.
0 commit comments