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

Method View

tui/busy.go:69–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67}
68
69func (m BusyModel) View() string {
70 if m.Quitting {
71 return ""
72 }
73 return m.spin.View() + " " + m.styles.text.Render(m.text) + "\n" + m.styles.help.Render("Esc/Q: Quit\n")
74}
75
76// RunWithBusySpinner shows a spinner while fn executes, then dismisses it.
77// In non-interactive mode (no TTY), it skips the TUI spinner and runs fn synchronously.

Calls

no outgoing calls