From 52eb9b1ad29756756881b90ba5221d03cd504fbd Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 22 Apr 2023 12:25:50 -0500 Subject: unloading the gocui toolkit works Signed-off-by: Jeff Carr --- toolkit/widget.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'toolkit/widget.go') 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 { -- cgit v1.2.3