Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
17
func
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
24
func
(m helpModel) Init() tea.Cmd {
return
nil }
25
Callers
1
newApp
Function · 0.85
Calls
1
helpContent
Function · 0.85
Tested by
no test coverage detected