summaryrefslogtreecommitdiff
path: root/gui.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-11 15:24:43 -0500
committerJeff Carr <[email protected]>2023-04-11 15:24:43 -0500
commit9975aefe1e4d2a8828185f75344f0e776ecdeaeb (patch)
tree1542cdcf98fbbeccc3422b551329abcdfbf7c30d /gui.go
parentc16bb5b088ce71fd6d032228b505cb5e133fcb3c (diff)
works against gocui
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gui.go')
-rw-r--r--gui.go10
1 files changed, 3 insertions, 7 deletions
diff --git a/gui.go b/gui.go
index 8edb82a..8bd4012 100644
--- a/gui.go
+++ b/gui.go
@@ -15,16 +15,13 @@ import (
// This setups up the dns control panel window
func setupControlPanelWindow() {
- me.window = myGui.New2().Window("DNS and IPv6 Control Panel").Standard()
+ // me.window = myGui.New2().Window("DNS and IPv6 Control Panel").Standard()
+ me.window = myGui.NewWindow("DNS and IPv6 Control Panel").Standard()
me.window.Dump(true)
sleep(1)
addDNSTab("DNS")
- if (args.GuiDebug) {
- gui.DebugWindow()
- }
- gui.ShowDebugValues()
}
func addDNSTab(title string) {
@@ -41,8 +38,7 @@ func addDNSTab(title string) {
g2.NewButton("Load 'gocui'", func () {
// this set the xterm and mate-terminal window title. maybe works generally?
fmt.Println("\033]0;" + title + "blah \007")
- gui.StartS("gocui")
- gui.Redraw("gocui")
+ gui.LoadPlugin("gocui")
})
g2.NewButton("Network Interfaces", func () {