class

Spin

Inherits Reference / Object

Constants

CL = STDOUT.tty? ? "\e[0G" : "\r \r"
CLEAR = STDOUT.tty? ? "\e[2K" : "\r"

Constructors

new(delay : Float64 = 0.1, chars = Spinner::Charset[:pipe])
Source

Instance methods

chars
Source
chars=(chars : Array(String))
Source
delay
Source
delay=(delay : Float64)
Source
start
Source
stop
Source