File tree 3 files changed +1
-18
lines changed
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
393
393
to an empty string (` "" ` or ` " " ` ) disables persistent REPL history.
394
394
395
395
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
-
406
396
### ` NODE_EXTRA_CA_CERTS=file `
407
397
<!-- YAML
408
398
added: 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
260
260
is \fB ~/.node_repl_history \fR , which is overridden by this variable. Setting the
261
261
value to an empty string ("" or " ") disables persistent REPL history.
262
262
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
-
270
263
.TP
271
264
.BR OPENSSL_CONF = \fI file \fR
272
265
Load 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) {
74
74
// this behaviour has become expected due historical functionality on OS X,
75
75
// even though it was originally intended to change in v1.0.2 (Libuv 1.2.1).
76
76
// 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 ) ;
78
78
79
79
var winSize = new Array ( 2 ) ;
80
80
var err = this . _handle . getWindowSize ( winSize ) ;
You can’t perform that action at this time.
0 commit comments