Skip to content

Commit

Permalink
chore: bump tty again!
Browse files Browse the repository at this point in the history
  • Loading branch information
eliassjogreen committed Sep 15, 2021
1 parent 35a1fcb commit 1958e59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deps.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * as colors from "https://deno.land/std@0.97.0/fmt/colors.ts";
export * as tty from "https://deno.land/x/tty@0.1.3/mod.ts";
export * as tty from "https://deno.land/x/tty@0.1.4/mod.ts";
1 change: 1 addition & 0 deletions mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ export class Spinner {
let columns = 80;

try {
//@ts-ignore TS2339
columns = Deno.consoleSize(this.#stream.rid)?.columns ?? columns;
} catch {
// Unstable APIs is not enabled, fallback to default
Expand Down

0 comments on commit 1958e59

Please sign in to comment.