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

fix: spinner background color

adamdottv пре 8 месеци
родитељ
комит
3c4e966216
1 измењених фајлова са 8 додато и 1 уклоњено
  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{