simple-spinner/examples/all.cr

9 lines
129 B
Crystal
Raw Normal View History

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