From d8353f9b1a917cb12cdc19e68d73415f1679abd8 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 7 Feb 2025 12:42:36 -0600 Subject: maybe stable? --- structs.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'structs.go') diff --git a/structs.go b/structs.go index b32c059..3e10910 100644 --- a/structs.go +++ b/structs.go @@ -31,8 +31,9 @@ type config struct { baseGui *gocui.Gui // the main gocui handle treeRoot *tree.Node // the base of the binary tree. it should have id == 0 myTree *tree.TreeInfo // ? - ctrlDown *tree.Node // shown if you click the mouse when the ctrl key is pressed currentWindow *guiWidget // this is the current tab or window to show + ok bool // if the user doesn't hit a key or move the mouse, gocui doesn't really start + ctrlDown *tree.Node // shown if you click the mouse when the ctrl key is pressed helpLabel *gocui.View // ? showHelp bool // toggle boolean for the help menu (deprecate?) FramePadW int `default:"1" dense:"0"` // When the widget has a frame, like a button, it adds 2 lines runes on each side @@ -77,6 +78,7 @@ type config struct { // settings for the stdout window type stdout struct { tk *guiWidget // where to show STDOUT + wId int // the widget id w int // the width h int // the height outputOnTop bool // is the STDOUT window on top? -- cgit v1.2.3