repos / pico

pico services mono repo
git clone https://github.com/picosh/pico.git

commit
c5afd39
parent
08f727e
author
Eric Bower
date
2026-01-02 12:22:40 -0500 EST
fix: tui pages
1 files changed,  +2, -2
M pkg/tui/pages.go
+2, -2
 1@@ -106,10 +106,10 @@ func (m *PagesPage) Draw(ctx vxfw.DrawContext) (vxfw.Surface, error) {
 2 	pagesLen := len(m.pages)
 3 	err := m.err
 4 
 5-	info := text.New("Pages deployed to pgs.  Each page is accessible via https://{user}-{project}.pgs.sh.  We do not have access to custom domains so those cannot be shown.")
 6+	info := text.New("Sites deployed to pgs.  Each page is accessible via https://{user}-{project}.pgs.sh.  We do not have access to custom domains so those cannot be shown.")
 7 	brd := NewBorder(info)
 8 	brd.Label = "desc"
 9-	brdSurf, _ := brd.Draw(ctx)
10+	brdSurf, _ := brd.Draw(createDrawCtx(ctx, 5))
11 	root.AddChild(0, ah, brdSurf)
12 	ah += int(brdSurf.Size.Height)
13