Can't use it in deno tests
bjesuiter opened this issue · comments
I want to use this in deno tests for easier visibility of long running downloads.
However, because you check this isTTY flag, i can't use it :(
I've disabled this check now locally for me, but it would be nice, If i could simply use your package from upstream.
Is there any reason we might need this isTTY check especially?
@bjesuiter
Landed in v1.2.9
v1.3.0 is published.
changes:
-
Deno.consoleSize is now stable
The Deno.consoleSize API change
- Deno.consoleSize(Deno.stdout.rid).columns;
+ Deno.consoleSize().columns;
Now you can run a wider bar without unstable.
- deno run --unstable ./examples/width.unstable.ts
+ deno run ./examples/width.ts
So mod.unstable.ts
and exmaples/width.unstable.ts
was removed.
- mod.unstable.ts
- exmaples/width.unstable.ts
Thanks very much for fast reaction and merge!