summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-02 11:07:56 -0600
committerJeff Carr <[email protected]>2024-02-02 11:07:56 -0600
commitd6f1a45c77ca5f8fd92522166c488938797b706b (patch)
tree39829cd2af37a1ef475868c873ed8ce59fb2b837 /structs.go
parentdddef229dcab1cd2c5ab7101dc5a4781478c0a62 (diff)
rename dropdown related variables
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go16
1 files changed, 5 insertions, 11 deletions
diff --git a/structs.go b/structs.go
index fba741c..cd5bdb2 100644
--- a/structs.go
+++ b/structs.go
@@ -43,18 +43,12 @@ type config struct {
currentWindow *tree.Node // this is the current tab or window to show
logStdout *tree.Node // where to show STDOUT
helpLabel *gocui.View
- ddview *tree.Node // the gocui view to select dropdrown lists
- ddClicked bool // the dropdown menu view was clicked
- ddNode *tree.Node // the dropdown menu is for this widget
- /*
- // this is the channel we send user events like
- // mouse clicks or keyboard events back to the program
- callback chan toolkit.Action
-
- // this is the channel we get requests to make widgets
- pluginChan chan toolkit.Action
- */
+ // this is a floating widget that we show whenever the user clicks on a
+ // dropdown menu or combobox
+ // the dropdown widget to select dropdrown lists
+ dropdownV *guiWidget
+ dropdownW *guiWidget // grab the dropdown choices from this widget
// When the widget has a frame, like a button, it adds 2 lines runes on each side
// so you need 3 char spacing in each direction to not have them overlap