summaryrefslogtreecommitdiff
path: root/watchdog.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-11 21:37:36 -0500
committerJeff Carr <[email protected]>2023-04-11 21:37:36 -0500
commit982097557b2625cf04378cd7e7771122382d6de9 (patch)
treed3db47982c505e3dde0deb48b9c4eb69c9bf5ab0 /watchdog.go
parent874e0beffad469f713d0435524e0a2f12dcfd978 (diff)
both gocui and andlabs worked with buttondemo
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'watchdog.go')
-rw-r--r--watchdog.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/watchdog.go b/watchdog.go
index 61c0247..af59439 100644
--- a/watchdog.go
+++ b/watchdog.go
@@ -23,6 +23,12 @@ func Watchdog() {
Config.rootNode.ListChildren(true)
}
}
+ if (i == 2) {
+ LoadPlugin("gocui")
+ }
+// if (i == 3) {
+// LoadPlugin("andlabs")
+// }
i += 1
time.Sleep(watchtime * time.Second / 10)
}