Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup: readableHighWaterMark
  • Loading branch information
ronag committed Jul 5, 2021
commit 82836705f34dde1fe087096b3e17151e12b6cb8f
3 changes: 2 additions & 1 deletion lib/tty.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function ReadStream(fd, options) {
}

net.Socket.call(this, {
highWaterMark: 0,
readableHighWaterMark: 0,
handle: tty,
manualStart: true,
...options
Expand Down Expand Up @@ -94,6 +94,7 @@ function WriteStream(fd) {
}

net.Socket.call(this, {
readableHighWaterMark: 0,
handle: tty,
manualStart: true
});
Expand Down