Skip to content

Commit

Permalink
🚑 Fix situation where determinate progress indicator may not get erased
Browse files Browse the repository at this point in the history
  • Loading branch information
pmonks committed Jun 27, 2024
1 parent 60ac61d commit d8ede8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/progress/determinate.clj
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ opts is a map, optionally containing these keys:
(ansi/save-cursor!)
(jansi/cursor! 1 line))
(print "\r")
(jansi/erase-line!)
(when line (ansi/restore-cursor!))))
(flush))))))))

Expand Down

0 comments on commit d8ede8d

Please sign in to comment.