summaryrefslogtreecommitdiff
path: root/doGui.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-09 05:40:44 -0500
committerJeff Carr <[email protected]>2025-09-09 05:40:44 -0500
commitf55f7cd6f04041f9ae01a8cda6b7d2fc16da12b6 (patch)
tree912dec71bfc0cb0c8c13cc49072dd2af7b089305 /doGui.go
parent6c58ab5e15104569b802681cacfb6882269dfb7f (diff)
new more better GUI codebasev0.0.12v0.0.11v0.0.10
Diffstat (limited to 'doGui.go')
-rw-r--r--doGui.go9
1 files changed, 1 insertions, 8 deletions
diff --git a/doGui.go b/doGui.go
index 5e1462e..1ee2468 100644
--- a/doGui.go
+++ b/doGui.go
@@ -27,24 +27,17 @@ func debug() {
}
func doGui() {
- me.myGui = gui.New()
- // me.myGui.SetAppDefaultPlugin(me.forge.Config.DefaultGui)
- me.myGui.Default()
-
win := gadgets.NewGenericWindow("regex: a WIT Cloud private AI tool", "Current Conversations")
drawWindow(win)
win.Custom = func() {
log.Warn("MAIN WINDOW CLOSE")
- me.myGui.StandardExit()
+ gui.StandardExit()
os.Exit(0)
}
me.mainWindow = win
- // sits here forever
- debug()
-
}
func drawWindow(win *gadgets.GenericWindow) {