Skip to content
/ spin Public

ASCII spinner library for long running terminal operations.

License

Notifications You must be signed in to change notification settings

tlight/spin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spin

ASCII spinner library for long running terminal operations.

Usage

(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) 

Example

Installation

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>

License

Copyright © 2020 tlight

Distributed under the Eclipse Public License either version 1.0 or any later version.

About

ASCII spinner library for long running terminal operations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published