From 24bd1fbda50920bff9de0f8808a10da98d8cf8a3 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 25 Oct 2021 06:42:33 -0500 Subject: EXIT: more accurate window close & exit code Signed-off-by: Jeff Carr --- structs.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'structs.go') 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 -- cgit v1.2.3