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
# ./control-panel-dns >/tmp/witgui.log.stderr 2>&1
./control-panel-dns --gui-debug
./control-panel-dns --debugger
install:
go install -v go.wit.com/control-panel-dns@latest

View File

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

View File

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