summaryrefslogtreecommitdiff
path: root/eventMouse.go
diff options
context:
space:
mode:
Diffstat (limited to 'eventMouse.go')
-rw-r--r--eventMouse.go10
1 files changed, 9 insertions, 1 deletions
diff --git a/eventMouse.go b/eventMouse.go
index adfbfc1..fb1a4a9 100644
--- a/eventMouse.go
+++ b/eventMouse.go
@@ -101,11 +101,19 @@ func mouseDown(g *gocui.Gui, v *gocui.View) error {
}
}
}
+ if tk.node.WidgetType == widget.Stdout {
+ tk.dumpWidget("stdout fixme drag()" + tk.labelN)
+ me.currentDrag = tk
+ tk.dragW = w - tk.gocuiSize.w0
+ tk.dragH = h - tk.gocuiSize.h0
+ // tk.doWidgetClick(w-tk.dragW, w-tk.dragH)
+ return nil
+ }
tk.dumpWidget("mouse drag()" + tk.labelN)
me.currentDrag = tk
tk.dragW = w - tk.gocuiSize.w0
tk.dragH = h - tk.gocuiSize.h0
- tk.doWidgetClick(w-tk.dragW, w-tk.dragH)
+ // tk.doWidgetClick(w-tk.dragW, w-tk.dragH)
return nil
// move the msg I guess