summaryrefslogtreecommitdiff
path: root/runtime/js/99_main.js
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-01-24 10:01:56 +1100
committerGitHub <noreply@github.com>2024-01-24 00:01:56 +0100
commit4eedac3604dad9f366d28868077eb02eddc22661 (patch)
treedda70cd31e731aad73e986002ef30acb84692dc4 /runtime/js/99_main.js
parent60688c563e6d02813b021ad91132fe1eb3f103b6 (diff)
feat: `Deno.{stdin,stdout,stderr}.isTerminal()`, deprecate `Deno.isatty()` (#22011)
This change: 1. Implements `Deno.stdin.isTerminal()`, `Deno.stdout.isTerminal()` and `Deno.stderr.isTerminal()`. 2. Deprecates `Deno.isatty()` for removal in Deno v2, in favour of the above instance methods. 3. Replaces use of `Deno.isatty()` with the above instance methods. Related #21995 --------- Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com> Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
Diffstat (limited to 'runtime/js/99_main.js')
0 files changed, 0 insertions, 0 deletions