yargs / set-blocking

set blocking stdio and stderr ensuring that terminal output does not truncate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NodeJS TTY streams is blocking by default now, but not on Windows

CMCDragonkai opened this issue · comments

This package doesn't seem required because NodeJS now sets the streams to be blocking all the time.

It's just that on windows libuv doesn't support blocking unless its a pipe.

Therefore the only use of this package is to set it to be non-blocking.