Term::Spinner::Multi
Inherits Enumerable / Reference / Object
Used for managing multiple terminal spinners
Constants
DEFAULT_INSET = {
top: "┌ ",
middle: "├── ",
bottom: "└── ",
}
Constructors
new(message = nil, style : NamedTuple(top: String, middle: String, bottom: String) = DEFAULT_INSET, **options)
Initialize a multispinner
Example:
spinner = TTY::Spinner::Multi.new
Instance methods
each(*args, **options)
Sourceeach(*args, **options, &)
Sourceempty?(*args, **options)
Sourceempty?(*args, **options, &)
Sourceline_inset(line_no)
Find the number of characters to move into the line before printing the spinner
size(*args, **options)
Sourcesize(*args, **options, &)
Sourcesynchronize
Source