summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authoradamdottv <[email protected]>2025-06-26 12:21:15 -0500
committeradamdottv <[email protected]>2025-06-26 12:21:20 -0500
commit8edbb74352975ab708dc51e8abb6e0a823aef288 (patch)
treea777a40f3b21e844d5a11685b5406f073c20f859
parente6bfa95758d242e9ecb332f1e0e8fd3b8c5f83f9 (diff)
downloadopencode-8edbb74352975ab708dc51e8abb6e0a823aef288.tar.gz
opencode-8edbb74352975ab708dc51e8abb6e0a823aef288.zip
fix(tui): editor spinner colors
-rw-r--r--packages/tui/internal/components/chat/editor.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/tui/internal/components/chat/editor.go b/packages/tui/internal/components/chat/editor.go
index 79b80cf69..3ae50d00d 100644
--- a/packages/tui/internal/components/chat/editor.go
+++ b/packages/tui/internal/components/chat/editor.go
@@ -83,7 +83,7 @@ func (m *editorComponent) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
return m, tea.Batch(cmds...)
} else {
existingValue := m.textarea.Value()
-
+
// Replace the current token (after last space)
lastSpaceIndex := strings.LastIndex(existingValue, " ")
if lastSpaceIndex == -1 {
@@ -341,7 +341,7 @@ func createSpinner() spinner.Model {
spinner.WithSpinner(spinner.Ellipsis),
spinner.WithStyle(
styles.NewStyle().
- Foreground(t.Background()).
+ Background(t.Background()).
Foreground(t.TextMuted()).
Width(3).
Lipgloss(),