We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd28a5e commit abdc6e4Copy full SHA for abdc6e4
src/font/cli.go
@@ -177,6 +177,9 @@ func (m *main) Init() tea.Cmd {
177
178
m.progress = progress.NewModel()
179
180
+ s := spinner.New()
181
+ m.spinner = &s
182
+
183
if len(m.URL) != 0 && !isLocalZipFile() {
184
m.state = downloadFont
185
@@ -202,10 +205,8 @@ func (m *main) Init() tea.Cmd {
202
205
go getFontsList()
203
206
}()
204
207
- s := spinner.New()
- s.Spinner = spinner.Dot
- s.Style = lipgloss.NewStyle().Foreground(lipgloss.Color("170"))
208
- m.spinner = &s
+ m.spinner.Spinner = spinner.Dot
209
+ m.spinner.Style = lipgloss.NewStyle().Foreground(lipgloss.Color("170"))
210
m.state = getFonts
211
212
if isLocalZipFile() {
0 commit comments