tui: fixed footer styling

This commit is contained in:
Matt Low 2024-03-14 17:55:31 +00:00
parent 2b0d474660
commit 2ca94e1ffb

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)),