Go to file
Aşkın Gedik a7b2e9a6f3 init
2015-12-30 13:56:47 +02:00
examples init 2015-12-30 13:56:47 +02:00
images init 2015-12-30 13:56:47 +02:00
spec init 2015-12-28 09:54:44 +02:00
src init 2015-12-30 13:56:47 +02:00
.gitignore init 2015-12-28 09:54:44 +02:00
.travis.yml init 2015-12-28 09:54:44 +02:00
LICENSE init 2015-12-28 09:54:44 +02:00
README.md init 2015-12-30 13:56:47 +02:00
shard.yml init 2015-12-28 09:54:44 +02:00

Spinner

Terminal Spinner for Crystal Programming Language

All

Installation

Add this to your application's shard.yml:

dependencies:
  spinner:
    github: askn/spinner

Usage

require "spinner"

sp = Spin.new
sp.start
sleep 3
sp.stop

Options

delay: default = 0.1

chars: you can choose charset from CHARSET default = CHARSET[:pipe]

Contributing

  1. Fork it ( https://github.com/askn/spinner/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • askn Aşkın Gedik - creator, maintainer