class

Pylon::CLI::Spinner

Inherits Reference < Object

Constants

FRAMES = {"⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"}
HIDE_CURSOR = "\e[?25l"
INDENT = " "
INTERVAL = 80.milliseconds
SHOW_CURSOR = "\e[?25h"

Constructors

new(io : IO)
Source

Instance methods

active?
Source
clear
Source
resume
Source
show
Source