summaryrefslogtreecommitdiff
path: root/cli/task_runner.rs
diff options
context:
space:
mode:
authorMarvin Hagemeister <marvin@deno.com>2024-07-19 12:39:05 +0200
committerGitHub <noreply@github.com>2024-07-19 12:39:05 +0200
commitee2e6933403811d398540e0e8275b2d216546dd8 (patch)
tree4ed2944dfbc516ea127c4bee50cc771ac12f902d /cli/task_runner.rs
parent76b8ecbb6d8c07d29c34fb0b301cc3bf3351e3aa (diff)
fix(node): support `tty.hasColors()` and `tty.getColorDepth()` (#24619)
This PR adds support for [`tty.WriteStream.prototype.hasColors()`](https://nodejs.org/api/tty.html#writestreamhascolorscount-env) and [`tty.WriteStream.prototype.getColorDepth()`](https://nodejs.org/api/tty.html#writestreamgetcolordepthenv). I couldn't find any usage on GitHub which passes parameters to it. Therefore I've skipped adding support for the `env` parameter to keep our snapshot size small. Based on https://github.com/denoland/deno_terminal/pull/3 Fixes https://github.com/denoland/deno/issues/24616
Diffstat (limited to 'cli/task_runner.rs')
0 files changed, 0 insertions, 0 deletions