~samwhited/communique-tui

fe7bd3028ceb088bd9a2ab99cabf60a196fab30d — Sam Whited 20 days ago 4326e18 main
internal/ui: add missing doc comment.

Signed-off-by: Sam Whited <sam@samwhited.com>
1 files changed, 2 insertions(+), 0 deletions(-)

M internal/ui/form_modal.go
M internal/ui/form_modal.go => internal/ui/form_modal.go +2 -0
@@ 211,6 211,8 @@ func (m *Modal) AddInputField(label, value string, fieldWidth int, accept func(t
	m.form.AddInputField(label, value, fieldWidth, accept, changed)
}

// Form returns the internal form used to add buttons and other elements to the
// modal.
func (m *Modal) Form() *tview.Form {
	return m.form
}