diff options
Diffstat (limited to 'debugGochan.go')
| -rw-r--r-- | debugGochan.go | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/debugGochan.go b/debugGochan.go index 5ac07a8..acbe624 100644 --- a/debugGochan.go +++ b/debugGochan.go @@ -11,18 +11,11 @@ import ( var debugWG *sync.WaitGroup var debugNumberChan chan int -func (n *Node) DebugGoChannels(makeWindow bool) { +func (n *Node) DebugGoChannels() { var w, g *Node - // Either: - // make a new window - // make a new tab in the existing window - if (makeWindow) { - w = me.rootNode.NewWindow("Debug GO Channels") - w.Custom = w.StandardClose - } else { - w = n.NewTab("Chan") - } + w = n.NewWindow("Debug GO Channels") + w.Custom = w.StandardClose g = w.NewGroup("Channel stuff") |
