deno icon indicating copy to clipboard operation
deno copied to clipboard

`process.stdout` and `stderr` backed by a tty should be instances of `node:tty` `WriteStream`

Open nathanwhit opened this issue 5 months ago • 1 comments

There's code out there that checks whether stdout is a tty by doing an instanceof check, e.g. in angular: https://github.com/angular/angular-cli/blob/d66aaa3ca458e05b535bec7c1dcb98b0e9c5202e/packages/angular/cli/src/utilities/color.ts#L14-L16

nathanwhit avatar Sep 12 '24 19:09 nathanwhit