summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/structs.go b/structs.go
index cd5bdb2..365a43c 100644
--- a/structs.go
+++ b/structs.go
@@ -30,7 +30,7 @@ var showHelp bool = true
var redoWidgets bool = true
// This is the window that is currently active
-var currentWindow *tree.Node
+// var currentWindow *tree.Node
type config struct {
baseGui *gocui.Gui // the main gocui handle
@@ -40,8 +40,10 @@ type config struct {
myTree *tree.TreeInfo
ctrlDown *tree.Node // shown if you click the mouse when the ctrl key is pressed
- currentWindow *tree.Node // this is the current tab or window to show
+ currentWindow *guiWidget // this is the current tab or window to show
logStdout *tree.Node // where to show STDOUT
+ startOutputW int
+ startOutputH int
helpLabel *gocui.View
// this is a floating widget that we show whenever the user clicks on a