Browse Source

fix: spinner background color

adamdottv 8 months ago
parent
commit
3c4e966216
1 changed files with 8 additions and 1 deletions
  1. 8 1
      packages/tui/internal/components/chat/editor.go

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

@@ -455,7 +455,14 @@ func (m *editorComponent) GetValue() string {
 }
 
 func NewEditorComponent(app *app.App) layout.ModelWithView {
-	s := spinner.New(spinner.WithSpinner(spinner.Ellipsis), spinner.WithStyle(styles.Muted().Width(3)))
+	s := spinner.New(
+		spinner.WithSpinner(spinner.Ellipsis),
+		spinner.WithStyle(
+			styles.
+				Muted().
+				Background(theme.CurrentTheme().Background()).
+				Width(3)),
+	)
 	ta := createTextArea(nil)
 
 	return &editorComponent{