module TandaCLI::Spinner

Extended Modules

Defined in:

tanda_cli/spinner.cr

Constant Summary

CLEAR_LINE = "\r\e[K"
FRAMES = ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"] of ::String
INTERVAL = 80.milliseconds
QUIET_PERIOD = 250.milliseconds

Class Method Summary

Instance Method Summary

Class Method Detail

def self.enabled=(enabled : Bool) #

[View source]
def self.enabled? : Bool #

[View source]

Instance Method Detail

def while_working(message : String, io : IO = STDERR, & : -> T) : T forall T #

[View source]