simple-spinner/examples/all.cr

9 lines
120 B
Crystal
Raw Normal View History

2015-12-30 11:55:14 +00:00
require "../src/spinner"
CHARSET.values.each do |chars|
sp = Spin.new(0.1, chars)
sp.start
sleep 2
sp.stop
end