summaryrefslogtreecommitdiff
path: root/toolkit/widget.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-06 18:00:18 -0500
committerJeff Carr <[email protected]>2023-04-06 18:00:18 -0500
commitbf60121b6515681ac505e80cb6824ba6bd978c29 (patch)
treecdb87a9169185da1c33827702ef1b405c3d1ed00 /toolkit/widget.go
parent70f8797122741ef61951d3400317173a1d9974da (diff)
gocui: callbacks work via a channel
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/widget.go')
-rw-r--r--toolkit/widget.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolkit/widget.go b/toolkit/widget.go
index 01215ed..09fd962 100644
--- a/toolkit/widget.go
+++ b/toolkit/widget.go
@@ -110,6 +110,7 @@ const (
const (
Add ActionType = iota
+ User // the user did something (mouse, keyboard, etc)
Delete
Get
Set