We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e341f7 commit 9c71e4cCopy full SHA for 9c71e4c
src/progress/indeterminate.clj
@@ -13,6 +13,7 @@
13
progress of a long-running task cannot be determined."
14
(:require [clojure.string :as s]
15
[jansi-clj.core :as jansi]
16
+ [embroidery.api :as e]
17
[progress.ansi :as ansi]
18
[progress.3rd-party :as tp])
19
(:refer-clojure :exclude [print]))
@@ -146,7 +147,7 @@
146
147
(throw (java.lang.IllegalStateException. "Progress indicator is already active.")))
148
(flush) ; Flush any residual I/O to stdout before we start animating
149
(reset! msgs nil)
- (reset! fut (future (indeterminate-progress-indicator opts)))
150
+ (reset! fut (e/future* (indeterminate-progress-indicator opts)))
151
nil))
152
153
(defn ^:no-doc stop!
0 commit comments