try to load nocui when panic() in gocui

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-02-09 09:31:26 -06:00
parent 25033569e7
commit 4085634578
2 changed files with 7 additions and 2 deletions

View File

@ -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)

View File

@ -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