Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForceOutput ¶
func ForceOutput(w *Wow)
ForceOutput forces all output even if not not outputting directly to a terminal
Types ¶
type Wow ¶
type Wow struct { IsTerminal bool // contains filtered or unexported fields }
Wow writes beautiful spinners on the terminal.
func (*Wow) Persist ¶
func (w *Wow) Persist()
Persist writes the last character of the currect spinner frames together with the text on stdout.
A new line is added at the end to ensure the text stay that way.
func (*Wow) PersistWith ¶
PersistWith writes the last frame of s together with text with a new line added to make it stick.
Click to show internal directories.
Click to hide internal directories.