Browse Source

fix(tui): restore spinner ticks

adamdotdevin 7 months ago
parent
commit
cd0b2ae032
1 changed files with 1 additions and 2 deletions
  1. 1 2
      packages/tui/internal/components/chat/editor.go

+ 1 - 2
packages/tui/internal/components/chat/editor.go

@@ -59,8 +59,7 @@ type editorComponent struct {
 }
 
 func (m *editorComponent) Init() tea.Cmd {
-	return tea.Batch(m.textarea.Focus(), tea.EnableReportFocus)
-	// return tea.Batch(m.textarea.Focus(), m.spinner.Tick, tea.EnableReportFocus)
+	return tea.Batch(m.textarea.Focus(), m.spinner.Tick, tea.EnableReportFocus)
 }
 
 func (m *editorComponent) Update(msg tea.Msg) (tea.Model, tea.Cmd) {