Skip to content

Commit 12bf5f6

Browse files
authored
fix "working" spinner animation (sst#1054) (sst#1259)
1 parent 2051e85 commit 12bf5f6

File tree

1 file changed

+1
-1
lines changed
  • packages/tui/internal/components/chat

1 file changed

+1
-1
lines changed

packages/tui/internal/components/chat/editor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ func (m *editorComponent) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
176176
case dialog.ThemeSelectedMsg:
177177
m.textarea = updateTextareaStyles(m.textarea)
178178
m.spinner = createSpinner()
179-
return m, m.textarea.Focus()
179+
return m, tea.Batch(m.textarea.Focus(), m.spinner.Tick)
180180
case dialog.CompletionSelectedMsg:
181181
switch msg.Item.ProviderID {
182182
case "commands":

0 commit comments

Comments
 (0)