-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up console output when not connected to a TTY (#702)
* Use * rather than \u25A0 for progress bars for compatibility with unicode-unaware terminals. * Take color control away from @colors/colors and give it to Chalk so that it respects our color disable behavior. * Refactor unpackers to use plain callbacks rather than EventEmitter. * Change Download and HashVerify events to make it easier to write different frontends for them. * Add new display backend that uses basic console printing rather than trying to show progress bars. * Add a download update message every 10 seconds. * Fix tryReadUTF8. * Fix regressions in "has TTY" output.
- Loading branch information
1 parent
3fa3fb5
commit 788ea09
Showing
23 changed files
with
460 additions
and
582 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.