AQIT 0.1.0
Loading...
Searching...
No Matches
aquin.tui.spinners Namespace Reference

Functions

dict[str, Any] _spinner (str name)
str bullet_mark (*, bool plain=False)
list[tuple[str, float]] status_spin_sequence ()
list[str] spinner_frames (str name="dots")
int spinner_interval_ms (str name="dots")

Variables

tuple _STATUS_SPINNERS = ("dots9", "flip")

Function Documentation

◆ _spinner()

dict[str, Any] _spinner ( str name)
protected

Definition at line 16 of file spinners.py.

Referenced by spinner_frames(), spinner_interval_ms(), and status_spin_sequence().

◆ bullet_mark()

str bullet_mark ( * ,
bool plain = False )
Settled glyph after the spin :  plain slash, not circle/square.

Definition at line 22 of file spinners.py.

◆ spinner_frames()

list[str] spinner_frames ( str name = "dots")
Frame list for an animating spinner.

Definition at line 41 of file spinners.py.

References _spinner().

◆ spinner_interval_ms()

int spinner_interval_ms ( str name = "dots")

Definition at line 46 of file spinners.py.

References _spinner().

◆ status_spin_sequence()

list[tuple[str, float]] status_spin_sequence ( )
(frame, delay_seconds) for ``aquin status`` :  plays dots9 then flip.

Definition at line 28 of file spinners.py.

References _spinner().

Variable Documentation

◆ _STATUS_SPINNERS

tuple aquin.tui.spinners._STATUS_SPINNERS = ("dots9", "flip")
protected

Definition at line 13 of file spinners.py.