mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 10:33:54 +00:00
Add isTTY function (#1622)
This commit is contained in:
parent
1d48e025d3
commit
181b03273c
8 changed files with 91 additions and 3 deletions
|
@ -27,3 +27,8 @@ test(function osPid() {
|
|||
console.log("pid", deno.pid);
|
||||
assert(deno.pid > 0);
|
||||
});
|
||||
|
||||
// See complete tests in tools/is_tty_test.py
|
||||
test(function osIsTTYSmoke() {
|
||||
console.log(deno.isTTY());
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue