ASCII spinner library for long running terminal operations.
(ns my-app
(:require [tlight.spin :refer (spin done)]))
(defn work[] (Thread/sleep 3000))
(spin)
(work)
(done)
; :type style - defaults to :box1 | Options :box1 to :box7, :spin1 to :spin9
; :ms delay - defaults to 100 ms
(spin :type :box1 :ms 100)
deps.edn dependency information:
tlight/spin {:mvn/version "0.0.4"}
Leiningen dependency information:
[tlight/spin "0.0.4"]
Maven dependency information:
<dependency>
<groupId>tlight</groupId>
<artifactId>spin</artifactId>
<version>0.0.4</version>
</dependency>
Copyright © 2020 tlight
Distributed under the Eclipse Public License either version 1.0 or any later version.