From dac9b6ab431a973f26c6ca3283b7d4b9606f910f Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Sat, 6 Jan 2024 03:07:14 +0530 Subject: fix(ext/node): add WriteStream.isTTY (#21801) --- ext/node/polyfills/tty.js | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/node') diff --git a/ext/node/polyfills/tty.js b/ext/node/polyfills/tty.js index e6c9c10c1..a08d1ae37 100644 --- a/ext/node/polyfills/tty.js +++ b/ext/node/polyfills/tty.js @@ -79,6 +79,7 @@ export class WriteStream extends Socket { const { columns, rows } = Deno.consoleSize(); this.columns = columns; this.rows = rows; + this.isTTY = true; } } -- cgit v1.2.3