summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-01 16:50:01 -0600
committerJeff Carr <[email protected]>2025-02-01 16:50:01 -0600
commit4dad2345323d2a3fce03cf8ce6d78a967856a22f (patch)
tree5962ecd8e1f641923707e5c5269d131ac3dcc032 /structs.go
parent3d5ee3f89b73dd5ba0d78a0b0d816fe96ed9f8a0 (diff)
start working on movingMsg
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/structs.go b/structs.go
index 84b0a3a..c6d8c69 100644
--- a/structs.go
+++ b/structs.go
@@ -70,12 +70,13 @@ type config struct {
ecount int // counts how many mouse and keyboard events have occurred
supermouse bool // prints out every widget found while you move the mouse around
depth int // used for listWidgets() debugging
+ movingMsg bool // means the user id dragging something around with the mouse
}
// deprecate these
var (
initialMouseX, initialMouseY, xOffset, yOffset int
- globalMouseDown, msgMouseDown, movingMsg bool
+ globalMouseDown, msgMouseDown bool
)
// this is the gocui way