spinner

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Spinner

type Spinner struct {
	// contains filtered or unexported fields
}

func NewSpinner

func NewSpinner() *Spinner

func (*Spinner) Init

func (m *Spinner) Init() tea.Cmd

func (*Spinner) Quit

func (m *Spinner) Quit()

func (*Spinner) Run

func (m *Spinner) Run()

func (*Spinner) SetFileName

func (m *Spinner) SetFileName(fName string)

func (*Spinner) SetSpiiner

func (m *Spinner) SetSpiiner(ss spinner.Spinner)

func (*Spinner) SetSweepFunc added in v1.0.3

func (m *Spinner) SetSweepFunc(f func())

func (*Spinner) SetTitle

func (m *Spinner) SetTitle(title string)

func (*Spinner) Update

func (m *Spinner) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*Spinner) View

func (m *Spinner) View() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL