aboutsummaryrefslogtreecommitdiff
path: root/vendor/maunium.net/go/tview/checkbox.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/maunium.net/go/tview/checkbox.go')
-rw-r--r--vendor/maunium.net/go/tview/checkbox.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/maunium.net/go/tview/checkbox.go b/vendor/maunium.net/go/tview/checkbox.go
index ae58720..48d4592 100644
--- a/vendor/maunium.net/go/tview/checkbox.go
+++ b/vendor/maunium.net/go/tview/checkbox.go
@@ -124,9 +124,9 @@ func (c *Checkbox) SetChangedFunc(handler func(checked bool)) *Checkbox {
return c
}
-// SetDoneFunc sets a handler which is called when the user is done entering
-// text. The callback function is provided with the key that was pressed, which
-// is one of the following:
+// SetDoneFunc sets a handler which is called when the user is done using the
+// checkbox. The callback function is provided with the key that was pressed,
+// which is one of the following:
//
// - KeyEscape: Abort text input.
// - KeyTab: Move to the next field.