Ver Fonte

fix(tui): restore spinner ticks

adamdotdevin há 7 meses atrás
pai
commit
cd0b2ae032
1 ficheiros alterados com 1 adições e 2 exclusões
  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) {