MCPcopy
hub / github.com/basecamp/once / updateForm

Function updateForm

internal/ui/form_test.go:353–356  ·  view source on GitHub ↗

Helpers

(f Form, msg tea.Msg)

Source from the content-addressed store, hash-verified

351// Helpers
352
353func updateForm(f Form, msg tea.Msg) Form {
354 f, _ = f.Update(msg)
355 return f
356}
357
358func formPressTab(form *Form) {
359 *form = updateForm(*form, keyPressMsg("tab"))

Callers 5

formPressTabFunction · 0.85
formPressShiftTabFunction · 0.85
formPressEnterFunction · 0.85
formTypeTextFunction · 0.85
formClickSubmitFunction · 0.85

Calls 1

UpdateMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…