summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2021-10-25 06:42:33 -0500
committerJeff Carr <[email protected]>2021-10-25 06:42:33 -0500
commit24bd1fbda50920bff9de0f8808a10da98d8cf8a3 (patch)
tree40767adb2e8edd3c0ba7e67d5c3fd6e15c838ed1 /structs.go
parent7fca2d947c581f92f3e890a22b709e78cb0ea3e8 (diff)
EXIT: more accurate window close & exit code
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/structs.go b/structs.go
index 80c763d..cf84746 100644
--- a/structs.go
+++ b/structs.go
@@ -20,13 +20,15 @@ var Data GuiData
var Config GuiConfig
type GuiConfig struct {
+ Title string
Width int
Height int
+ Exit func(*Node)
+
Debug bool
DebugNode bool
DebugTabs bool
DebugTable bool
- Exit func(*GuiWindow)
depth int
counter int // used to make unique ID's