summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/tty.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/tty.js b/lib/tty.js
index 28f2a41184..2a62fcb859 100644
--- a/lib/tty.js
+++ b/lib/tty.js
@@ -24,7 +24,6 @@
const util = require('util');
const net = require('net');
const { TTY, isTTY } = process.binding('tty_wrap');
-const { makeSyncWrite } = require('internal/net');
const { inherits } = util;
const errnoException = util._errnoException;
const errors = require('internal/errors');
@@ -92,8 +91,6 @@ function WriteStream(fd) {
// 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(true);
- this._writev = null;
- this._write = makeSyncWrite(fd);
var winSize = new Array(2);
var err = this._handle.getWindowSize(winSize);