class

Ori::Spinner

Inherits Ori::Node < Reference < Object

Constants

FRAMES = { dots: ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"], line: ["-", "\\", "|", "/"], arc: ["◜", "◠", "◝", "◞", "◡", "◟"], circle: ["◐", "◓", "◑", "◒"], pipe: ["┤", "┘", "┴", "└", "├", "┌", "┬", "┐"], triangle: ["◢", "◣", "◤", "◥"], bounce: ["⠁", "⠂", "⠄", "⠂"], star: ["✶", "✸", "✹", "✺", "✹", "✷"], }

Constructors

new(type : Symbol = :dots, style : Ori::S = Ori::S.none, interval : Time::Span = 0.1.seconds)
Source

Instance methods

content_height
Source
content_width
Source
frame
Source
frame=(idx : Int32)
Source
render(io : IO) : Nil
Source
render_screen(screen : Ori::Screen) : Nil
Source
reset
Source