From 1f97a3cfa156255ece44878e15ef1750e663a384 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 17 Jun 2019 08:09:28 -0700 Subject: allow a custom Exit() Signed-off-by: Jeff Carr --- structs.go | 1 + 1 file changed, 1 insertion(+) (limited to 'structs.go') 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 { -- cgit v1.2.3