Skip to content

Commit

Permalink
Merge pull request #116 from Turbo87/color-blind-progress-bar
Browse files Browse the repository at this point in the history
Fix progress bar rendering for `--no-color`
  • Loading branch information
Turbo87 committed Jun 19, 2018
2 parents c39f612 + e548592 commit e91182a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/progress-bar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ProgressBarController {
this.bar = new ProgressBar(`:bar ${title} (:percent)`, {
total,
complete: chalk.hex("#0366d6")("█"),
incomplete: chalk.gray("█"),
incomplete: chalk.enabled ? chalk.gray("█") : "░",
clear: true,

// terminal columns - package name length - additional characters length
Expand Down

0 comments on commit e91182a

Please sign in to comment.