Selaa lähdekoodia

fix: spinner background color

adamdottv 1 vuosi sitten
vanhempi
commit
3c4e966216
1 muutettua tiedostoa jossa 8 lisäystä ja 1 poistoa
  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 {
 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)
 	ta := createTextArea(nil)
 
 
 	return &editorComponent{
 	return &editorComponent{