summaryrefslogtreecommitdiff
path: root/debugFlags.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-08 15:34:36 -0500
committerJeff Carr <[email protected]>2023-04-08 15:34:36 -0500
commitb24cc5898604191df7bfc2cacd7bc5043fa14a42 (patch)
tree31c011056e67b103ef62c33434ff04fe345a3571 /debugFlags.go
parent0e0787c0620c0dca59378d1e3b355c60a1a82de1 (diff)
gocui: compiling and running again
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'debugFlags.go')
-rw-r--r--debugFlags.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/debugFlags.go b/debugFlags.go
index b7a7768..7b1d1c7 100644
--- a/debugFlags.go
+++ b/debugFlags.go
@@ -9,10 +9,7 @@ func (n *Node) DebugFlags(makeWindow bool) {
// make a new window
// make a new tab in the existing window
if (makeWindow) {
- Config.Title = "Debug Flags"
- Config.Width = 300
- Config.Height = 400
- w = NewWindow()
+ w = Config.rootNode.NewWindow("Debug Flags")
w.Custom = w.StandardClose
} else {
w = n.NewTab("Flags")