MCPcopy Create free account
hub / github.com/Thunder-Compute/thunder-cli / NewBusyModel

Function NewBusyModel

tui/busy.go:35–43  ·  view source on GitHub ↗
(text string)

Source from the content-addressed store, hash-verified

33}
34
35func NewBusyModel(text string) BusyModel {
36 InitCommonStyles(os.Stdout)
37 s := NewPrimarySpinner()
38 return BusyModel{
39 text: text,
40 spin: s,
41 styles: newBusyStyles(),
42 }
43}
44
45func (m BusyModel) Init() tea.Cmd {
46 return m.spin.Tick

Callers 1

RunWithBusySpinnerFunction · 0.85

Calls 3

InitCommonStylesFunction · 0.85
NewPrimarySpinnerFunction · 0.85
newBusyStylesFunction · 0.85

Tested by

no test coverage detected