summaryrefslogtreecommitdiff
path: root/doGui.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-10 05:46:37 -0500
committerJeff Carr <[email protected]>2025-03-10 07:59:25 -0500
commit2e10a2a0d96da83838dfab34015595b05dcc9058 (patch)
tree567cc0e04ef9ae1ef9331074174703bf98de757e /doGui.go
parent8fda4d7c870e36772f1ea0a62179e6e661131b21 (diff)
make an event log
Diffstat (limited to 'doGui.go')
-rw-r--r--doGui.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/doGui.go b/doGui.go
index 9240cf6..09bb828 100644
--- a/doGui.go
+++ b/doGui.go
@@ -52,11 +52,8 @@ func doGui() {
})
grid.NewButton("Events", func() {
- log.Info("todo: start a list here!")
- pm := me.portmaps.InsertByListen(5556)
- pm.Connect = "haha. gotcha"
- pm.Enabled = true
- me.portmaps.ConfigSave()
+ log.Info("event log is len =", me.events.Len())
+ me.events.Save()
})
// sit here forever refreshing the GUI