Преглед изворни кода

fix(tui): restore spinner ticks

adamdotdevin пре 1 година
родитељ
комит
cd0b2ae032
1 измењених фајлова са 1 додато и 2 уклоњено
  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) {