MCPcopy Create free account
hub / github.com/catppuccin/cli / NewInitialModel

Function NewInitialModel

internal/ui/repoInput.go:38–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38func NewInitialModel() InitialModel {
39 ti := textinput.New()
40 ti.Placeholder = "Helix"
41 ti.Focus()
42 ti.CharLimit = 256
43 ti.Width = 20
44
45 return InitialModel{
46 textInput: ti,
47 err: nil,
48 }
49}
50
51func (m InitialModel) Init() tea.Cmd {
52 return textinput.Blink

Callers 1

RunFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected