repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
ef8999f
parent
c5c93c9
author
Eric Bower
date
2024-05-16 17:20:02 +0000 UTC
chore: use `MakeOptions`
1 files changed,  +3, -1
M tui/cms.go
+3, -1
 1@@ -113,7 +113,9 @@ func CmsMiddleware(cfg *shared.ConfigSite) bm.Handler {
 2 		ff, _ := m.findPlusFeatureFlag()
 3 		m.plusFeatureFlag = ff
 4 
 5-		return m, []tea.ProgramOption{tea.WithAltScreen()}
 6+		opts := bm.MakeOptions(sesh)
 7+		opts = append(opts, tea.WithAltScreen())
 8+		return m, opts
 9 	}
10 }
11