tui: fixed footer styling

This commit is contained in:
Matt Low 2024-03-14 17:55:31 +00:00
parent 2ad93394b1
commit 71833b89cd
1 changed files with 1 additions and 2 deletions

View File

@ -337,12 +337,11 @@ func (m *model) footerView() string {
status := m.status status := m.status
if m.waitingForReply { if m.waitingForReply {
status += m.spinner.View() status += m.spinner.View()
status = segmentStyle.Render(status)
} }
leftSegments := []string{ leftSegments := []string{
saving, saving,
status, segmentStyle.Render(status),
} }
rightSegments := []string{ rightSegments := []string{
segmentStyle.Render(fmt.Sprintf("Model: %s", *m.ctx.Config.Defaults.Model)), segmentStyle.Render(fmt.Sprintf("Model: %s", *m.ctx.Config.Defaults.Model)),