diff options
| author | Jeff Carr <[email protected]> | 2023-04-11 15:24:43 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-11 15:24:43 -0500 |
| commit | 9975aefe1e4d2a8828185f75344f0e776ecdeaeb (patch) | |
| tree | 1542cdcf98fbbeccc3422b551329abcdfbf7c30d /gui.go | |
| parent | c16bb5b088ce71fd6d032228b505cb5e133fcb3c (diff) | |
works against gocui
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gui.go')
| -rw-r--r-- | gui.go | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -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 () { |
