From 21f50f5bc400083b4eb23304887d9cd0fc00d075 Mon Sep 17 00:00:00 2001 From: Oliver <480930+rivo@users.noreply.github.com> Date: Tue, 7 Aug 2018 09:25:40 +0200 Subject: [PATCH] Fixed the docs of FormItem. Fixes #153 --- form.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/form.go b/form.go index 0fcc047..3593adf 100644 --- a/form.go +++ b/form.go @@ -26,7 +26,7 @@ type FormItem interface { // required. GetFieldWidth() int - // SetEnteredFunc sets the handler function for when the user finished + // SetFinishedFunc sets the handler function for when the user finished // entering data into the item. The handler may receive events for the // Enter key (we're done), the Escape key (cancel input), the Tab key (move to // next field), and the Backtab key (move to previous field).