summaryrefslogtreecommitdiff
path: root/eventMouse.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 /eventMouse.go
parent3d5ee3f89b73dd5ba0d78a0b0d816fe96ed9f8a0 (diff)
start working on movingMsg
Diffstat (limited to 'eventMouse.go')
-rw-r--r--eventMouse.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/eventMouse.go b/eventMouse.go
index 052bc53..b14bd7e 100644
--- a/eventMouse.go
+++ b/eventMouse.go
@@ -50,8 +50,8 @@ func mouseUp(g *gocui.Gui, v *gocui.View) error {
if msgMouseDown {
msgMouseDown = false
- if movingMsg {
- movingMsg = false
+ if me.movingMsg {
+ me.movingMsg = false
return nil
} else {
g.DeleteView("msg")