Skip to content

Commit

Permalink
chore: Remove extra spaces in progress bar
Browse files Browse the repository at this point in the history
cf. #176
  • Loading branch information
liquidz committed Jul 26, 2022
1 parent bf69baa commit d2d6e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/antq/report/table.clj
Expand Up @@ -53,7 +53,7 @@
[{:keys [width total-count current-count]}]
(let [width (or width 50)
ratio (int (* width (/ current-count total-count)))]
(format "[ %s%s ] %d/%d\r"
(format "[%s%s] %d/%d\r"
(apply str (repeat ratio "#"))
(apply str (repeat (- width ratio) "-"))
current-count
Expand Down

0 comments on commit d2d6e64

Please sign in to comment.