diff options
| author | Jeff Carr <[email protected]> | 2023-12-31 07:40:53 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-12-31 07:40:53 -0600 |
| commit | 92441e8c635aa3e1d1f148e4780c0c323f4b0f95 (patch) | |
| tree | 7170a290962840af2486316c224462d52ddc3e0c /debugGochan.go | |
| parent | 50f41a3ec5441396666e1108183ac02363c4bd18 (diff) | |
continue move to remove tabs
Signed-off-by: Jeff Carr <[email protected]>
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") |
