MCPcopy Create free account
hub / github.com/chip/pathos / setupTextInput

Function setupTextInput

pathos.go:296–307  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

294}
295
296func setupTextInput() textinput.Model {
297 ti := textinput.New()
298 ti.Prompt = "Enter directory: "
299 ti.Placeholder = "/"
300 ti.SetValue("")
301 ti.Blink()
302 ti.Focus()
303 ti.CharLimit = 156
304 ti.Width = 50
305
306 return ti
307}
308
309func duplicatePath(path string) bool {
310 _, isPresent := duplicatePaths[path]

Callers 1

initialModelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected