diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2024-01-06 03:07:14 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-05 22:37:14 +0100 |
commit | dac9b6ab431a973f26c6ca3283b7d4b9606f910f (patch) | |
tree | a5e34d1e00fb826d661ddee35f7617226e7f4723 /ext/node/polyfills/tty.js | |
parent | 7c5c502773de135994bdc23e8bc5f705c3f5a0c5 (diff) |
fix(ext/node): add WriteStream.isTTY (#21801)
Diffstat (limited to 'ext/node/polyfills/tty.js')
-rw-r--r-- | ext/node/polyfills/tty.js | 1 |
1 files changed, 1 insertions, 0 deletions
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; } } |