class Spin

Defined in:

spinner.cr

Constant Summary

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

Constructors

Instance Method Summary

Constructor Detail

def self.new(delay : Float64 = 0.1, chars = Spinner::Charset[:pipe]) #

[View source]

Instance Method Detail

def chars : Array(String) #

[View source]
def chars=(chars : Array(String)) #

[View source]
def delay : Float64 #

[View source]
def delay=(delay : Float64) #

[View source]
def start #

[View source]
def stop #

[View source]