diff options
| author | Tobias Walle <[email protected]> | 2025-07-23 22:40:34 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-23 15:40:34 -0500 |
| commit | 12bf5f641d3f09c68c83f35c2fd13947091417ed (patch) | |
| tree | a770bf8d0b93ffd4e574e173fca5da5a8631eccf | |
| parent | 2051e85e96bdabea7a140e4bb9d444fc38af63a0 (diff) | |
| download | opencode-12bf5f641d3f09c68c83f35c2fd13947091417ed.tar.gz opencode-12bf5f641d3f09c68c83f35c2fd13947091417ed.zip | |
fix "working" spinner animation (#1054) (#1259)
| -rw-r--r-- | packages/tui/internal/components/chat/editor.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/tui/internal/components/chat/editor.go b/packages/tui/internal/components/chat/editor.go index cdae954e6..266df8f86 100644 --- a/packages/tui/internal/components/chat/editor.go +++ b/packages/tui/internal/components/chat/editor.go @@ -176,7 +176,7 @@ func (m *editorComponent) Update(msg tea.Msg) (tea.Model, tea.Cmd) { case dialog.ThemeSelectedMsg: m.textarea = updateTextareaStyles(m.textarea) m.spinner = createSpinner() - return m, m.textarea.Focus() + return m, tea.Batch(m.textarea.Focus(), m.spinner.Tick) case dialog.CompletionSelectedMsg: switch msg.Item.ProviderID { case "commands": |
