MCPcopy Create free account
hub / github.com/SamNet-dev/snix / newHelpModel

Function newHelpModel

tui/help.go:17–22  ·  view source on GitHub ↗
(a *App)

Source from the content-addressed store, hash-verified

15}
16
17func newHelpModel(a *App) helpModel {
18 m := helpModel{app: a}
19 m.vp = viewport.New(80, 20)
20 m.vp.SetContent(helpContent())
21 return m
22}
23
24func (m helpModel) Init() tea.Cmd { return nil }
25

Callers 1

newAppFunction · 0.85

Calls 1

helpContentFunction · 0.85

Tested by

no test coverage detected