mirror of
https://github.com/sst/opencode.git
synced 2025-08-31 10:17:26 +00:00
fix(tui): editor spinner colors
This commit is contained in:
parent
008af18156
commit
dfb8777555
1 changed files with 2 additions and 2 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue