diff options
| author | Jeff Carr <[email protected]> | 2024-02-09 09:31:26 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-09 09:31:26 -0600 |
| commit | 40856345785aff5d95b05ab2d70955529916aff2 (patch) | |
| tree | 818c44fcb79834002834b322a0c8cc8db5046236 | |
| parent | 25033569e7d8daca9627651030c122d1f033b17e (diff) | |
try to load nocui when panic() in gocui
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | Makefile | 6 | ||||
| -rw-r--r-- | main.go | 3 |
2 files changed, 7 insertions, 2 deletions
@@ -22,11 +22,13 @@ stderr: build log: reset - tail -f /tmp/witgui.* /tmp/guilogfile + tail -f /tmp/guilogfile /tmp/witgui.* /tmp/gadget* gocui: build reset - ./control-panel-dns --gui gocui --tmp-log + # ./control-panel-dns --gui gocui --tmp-log >/tmp/witgui.log.stderr 2>&1 + # ./control-panel-dns --gui gocui + ./control-panel-dns --gui gocui >/tmp/witgui.log.stderr 2>&1 check-git-clean: @git diff-index --quiet HEAD -- || (echo "Git repository is dirty, please commit your changes first"; exit 1) @@ -122,6 +122,9 @@ func main() { me.statusOS.SetSpeedActual(s) }) + // show internal gui toolkit stats + go gui.Watchdog() + // check the four known things to see if they are all WORKING myTicker(10*time.Second, "MAIN LOOP", func() { var working bool = true |
