summaryrefslogtreecommitdiff
path: root/debugGolang.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-12-31 07:40:53 -0600
committerJeff Carr <[email protected]>2023-12-31 07:40:53 -0600
commit92441e8c635aa3e1d1f148e4780c0c323f4b0f95 (patch)
tree7170a290962840af2486316c224462d52ddc3e0c /debugGolang.go
parent50f41a3ec5441396666e1108183ac02363c4bd18 (diff)
continue move to remove tabs
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'debugGolang.go')
-rw-r--r--debugGolang.go13
1 files changed, 3 insertions, 10 deletions
diff --git a/debugGolang.go b/debugGolang.go
index ac0b929..fb1fb07 100644
--- a/debugGolang.go
+++ b/debugGolang.go
@@ -9,18 +9,11 @@ import (
"runtime/pprof"
)
-func (n *Node) DebugGolangWindow(makeWindow bool) {
+func (n *Node) DebugGolangWindow() {
var w, g, og, outputTextbox *Node
- // Either:
- // make a new window
- // make a new tab in the existing window
- if (makeWindow) {
- w = me.rootNode.NewWindow("GO")
- w.Custom = w.StandardClose
- } else {
- w = n.NewTab("GOLANG")
- }
+ w = n.NewWindow("GO")
+ w.Custom = w.StandardClose
g = w.NewGroup("Language Internals")