From 4dad2345323d2a3fce03cf8ce6d78a967856a22f Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 1 Feb 2025 16:50:01 -0600 Subject: start working on movingMsg --- structs.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'structs.go') 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 -- cgit v1.2.3