summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-07 12:42:36 -0600
committerJeff Carr <[email protected]>2025-02-07 12:42:36 -0600
commitd8353f9b1a917cb12cdc19e68d73415f1679abd8 (patch)
tree6e8a209d7759971d5d668ba9cdf2d871f9dafe5b /structs.go
parentb6b5df6a18f03822e26a426bf624d1ca7ccbf354 (diff)
maybe stable?v0.22.18
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go4
1 files changed, 3 insertions, 1 deletions
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?