summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-12 08:27:39 -0600
committerJeff Carr <[email protected]>2024-02-12 08:27:39 -0600
commit66694c1a09ff2522e553d37eeb025b183dea551d (patch)
treeea2859c4491219c22a4e57812f4c47233f368d6c /main.go
parent6188281ddacf8184cb0213fda4ed6cfb7d487c9d (diff)
make a simple way to enable the debuggerv0.20.7v0.20.6v0.20.5v0.20.4
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 04fa688..4d63459 100644
--- a/main.go
+++ b/main.go
@@ -15,6 +15,7 @@ func main() {
helloworld()
// go will sit here until the window exits
+ // intermittently, it will show toolkit statistics
gui.Watchdog()
}
@@ -43,11 +44,10 @@ func helloworld() {
color.AddText("Cyan")
color.AddText("Magenta")
color.AddText("Yellow")
- color.Custom = func () {
+ color.Custom = func() {
log.Info("color is now", color.String())
}
-
check := grid.NewCheckbox("Checkers").SetProgName("CHECKERS")
check.Custom = func() {
log.Info("Checkers is now", check.Bool())