tui: fixed footer styling
This commit is contained in:
parent
2ad93394b1
commit
71833b89cd
@ -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)),
|
||||||
|
Loading…
Reference in New Issue
Block a user