add in a clint example while I ponder hy scripts using it
This commit is contained in:
parent
8935a998ad
commit
2e7cd16169
6
eg/clint/clint-progress.hy
Normal file
6
eg/clint/clint-progress.hy
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
(import [clint.textui [progress]]
|
||||||
|
[time [sleep]]
|
||||||
|
[random [random]])
|
||||||
|
|
||||||
|
(for [x (.bar progress (range 100))]
|
||||||
|
(sleep (* (random) 0.1)))
|
Loading…
x
Reference in New Issue
Block a user