tui: fixed footer styling
This commit is contained in:
parent
2b0d474660
commit
2ca94e1ffb
@ -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