Fix update banner formatting

This commit is contained in:
patriceckhart 2026-05-22 19:21:27 +02:00
parent 9b7e0ace7f
commit 91c696dbfc

View file

@ -34,7 +34,7 @@ func renderUpdateBanner(th tui.Theme, info UpdateInfo, width int) []string {
title := fmt.Sprintf("zot %s is available (you're on %s).", info.Latest, info.Current)
out = append(out, " "+th.FG256(color, tui.Bold(title)))
out = append(out, "")
out = append(out, "")
out = append(out, " "+th.FG256(th.Muted, "run: ")+th.FG256(color, "zot update"))
if info.URL != "" {