diff options
| author | Jeff Carr <[email protected]> | 2024-02-05 01:08:12 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-05 01:08:12 -0600 |
| commit | 8f9e47c11711b629ff7351c0626c85d3e8aa0979 (patch) | |
| tree | ee9eb56b0b9b4ddeb952ef8fa5be007a1f1bd926 /structs.go | |
| parent | 145bad6c9aadf8bb398131ea42da24a536dc72bb (diff) | |
stdout window remembers where it was
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |
