diff options
| author | Jeff Carr <[email protected]> | 2025-02-06 02:54:50 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-06 02:54:50 -0600 |
| commit | d0e35bb98fde78d9d804ab68e11f3f4ef9bbc711 (patch) | |
| tree | 71e176ca427aef724d7d6274619ed458e82a247d /structs.go | |
| parent | 8522d4671e02f6271777d5bbf327d2d522a9c9ef (diff) | |
rm more old code
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 15 |
1 files changed, 4 insertions, 11 deletions
@@ -25,10 +25,9 @@ import ( // 2025 note: doesn't seem terrible to call this 'me' anymore. notsure. var me config -var showDebug bool = true // todo: move this into config struct -var redoWidgets bool = true // todo: move this into config struct - -// todo: move all this to a protobuf. then, redo all this mess. it got me here, but now it's time to clean it up for good +// todo: move all this to a protobuf. then, redo all this mess. +// it got me here, but now it's time to clean it up for good +// I can't get a GO plugins that use protobuf to load yet (versioning mismatch) type config struct { baseGui *gocui.Gui // the main gocui handle treeRoot *tree.Node // the base of the binary tree. it should have id == 0 @@ -68,6 +67,7 @@ type config struct { globalMouseDown bool // yep, mouse is pressed newWindowTrigger chan bool // work around hack to redraw windows a bit after NewWindow() stdout stdout // information for the STDOUT window + showDebug bool // todo: move this into config struct } // settings for the stdout window @@ -82,13 +82,6 @@ type stdout struct { offsetH int // the current 'h' offset } -// deprecate these -var ( - initialMouseX, initialMouseY int - // initialMouseX, initialMouseY, xOffset, yOffset int - // msgMouseDown bool -) - // this is the gocui way // corner starts at in the upper left corner type rectType struct { |
