Przeglądaj źródła

fix(tui): restore spinner ticks

adamdotdevin 1 rok temu
rodzic
commit
cd0b2ae032
1 zmienionych plików z 1 dodań i 2 usunięć
  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) {