summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-06-17 08:09:28 -0700
committerJeff Carr <[email protected]>2019-06-17 08:09:28 -0700
commit1f97a3cfa156255ece44878e15ef1750e663a384 (patch)
treeae92980a4ff1eafc26101b0ce47dbce09155ef22 /structs.go
parent37d30e4c41759343f8d594eaa9881c933f17c6d7 (diff)
allow a custom Exit()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index 90a674b..514febe 100644
--- a/structs.go
+++ b/structs.go
@@ -19,6 +19,7 @@ type GuiConfig struct {
Height int
Debug bool
DebugTable bool
+ Exit func(*GuiWindow)
}
type GuiData struct {