diff options
author | Jeremiah Senkpiel <fishrock123@rocketmail.com> | 2016-12-21 15:39:54 -0500 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2017-03-31 22:02:25 +0200 |
commit | 1b63fa10960d99078de9a3618ee76dcd5013f6d0 (patch) | |
tree | c1a5fc2ae3c0e2cac084370093ed9e54b94efa24 /lib | |
parent | 7e0c3ab641c75cf5078f03695e54f7c238aa057f (diff) | |
download | android-node-v8-1b63fa10960d99078de9a3618ee76dcd5013f6d0.tar.gz android-node-v8-1b63fa10960d99078de9a3618ee76dcd5013f6d0.tar.bz2 android-node-v8-1b63fa10960d99078de9a3618ee76dcd5013f6d0.zip |
tty: remove NODE_TTY_UNSAFE_ASYNC
Nothing but trouble can ever come from it.
PR-URL: https://github.com/nodejs/node/pull/12057
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tty.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tty.js b/lib/tty.js index b7901d9998..3812e9c56b 100644 --- a/lib/tty.js +++ b/lib/tty.js @@ -74,7 +74,7 @@ function WriteStream(fd) { // this behaviour has become expected due historical functionality on OS X, // even though it was originally intended to change in v1.0.2 (Libuv 1.2.1). // Ref: https://github.com/nodejs/node/pull/1771#issuecomment-119351671 - this._handle.setBlocking(process.env.NODE_TTY_UNSAFE_ASYNC !== '1'); + this._handle.setBlocking(true); var winSize = new Array(2); var err = this._handle.getWindowSize(winSize); |