This code from pty.js (chjj) was originally designed to work with ancient versions of node.js 0.12 and io.js, but the api is DEPRECATED for many years, the /* require("node:tty") */ tty.ReadStream consturctor received a pipe fd is just worked (both r/w).
This code from pty.js (chjj) was originally designed to work with ancient versions of node.js
0.12
and io.js, but the api is DEPRECATED for many years, the/* require("node:tty") */ tty.ReadStream
consturctor received a pipe fd is just worked (both r/w).Related to #632 .
See https://github.com/nodejs/node/issues/37780 also.