moved to using 'gui/debugger'

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-03 13:25:07 -06:00
parent e14770e94c
commit 138f72728c
3 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
run: build run: build
# ./control-panel-dns >/tmp/witgui.log.stderr 2>&1 # ./control-panel-dns >/tmp/witgui.log.stderr 2>&1
./control-panel-dns --gui-debug ./control-panel-dns --debugger
install: install:
go install -v go.wit.com/control-panel-dns@latest go install -v go.wit.com/control-panel-dns@latest

View File

@ -10,7 +10,7 @@ import (
"time" "time"
arg "github.com/alexflint/go-arg" arg "github.com/alexflint/go-arg"
"go.wit.com/log" "go.wit.com/log"
"go.wit.com/gui/gui" "go.wit.com/gui/debugger"
) )
var args struct { var args struct {
@ -37,7 +37,7 @@ func init() {
SPEW.Desc = "spew logging" SPEW.Desc = "spew logging"
SPEW.Register() SPEW.Register()
if gui.ArgDebug() { if debugger.ArgDebug() {
log.Log(true, "INIT() gui debug == true") log.Log(true, "INIT() gui debug == true")
} else { } else {
log.Log(true, "INIT() gui debug == false") log.Log(true, "INIT() gui debug == false")

View File

@ -46,8 +46,8 @@ func main() {
sleep(me.artificialSleep) sleep(me.artificialSleep)
setupControlPanelWindow() setupControlPanelWindow()
sleep(2) if debugger.ArgDebug() {
if gui.ArgDebug() { sleep(2)
debugger.DebugWindow(myGui) debugger.DebugWindow(myGui)
} }