summaryrefslogtreecommitdiff
path: root/toolkit/widget.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-22 12:25:50 -0500
committerJeff Carr <[email protected]>2023-04-22 12:25:50 -0500
commit52eb9b1ad29756756881b90ba5221d03cd504fbd (patch)
tree8e80b65d20516d57797b7e3d39d44a147c7641ba /toolkit/widget.go
parent2b10d882a35d5a8b79c7d48eaa59e7d027be5e8d (diff)
unloading the gocui toolkit works
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/widget.go')
-rw-r--r--toolkit/widget.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/toolkit/widget.go b/toolkit/widget.go
index 769bf09..21f2f47 100644
--- a/toolkit/widget.go
+++ b/toolkit/widget.go
@@ -109,7 +109,6 @@ const (
const (
Add ActionType = iota
- User // the user did something (mouse, keyboard, etc)
Delete
Get
Set
@@ -127,7 +126,9 @@ const (
Append
Move
Dump
- Quit
+ User // the user did something (mouse, keyboard, etc)
+ InitToolkit // initializes the toolkit
+ CloseToolkit // closes the toolkit
)
func (s WidgetType) String() string {