From acfb80a2e702a7472ccf547350c2a71568c8cf01 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 4 Feb 2025 10:04:45 -0600 Subject: kinda, sorta, but no. not yet --- eventMouseMove.go | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'eventMouseMove.go') diff --git a/eventMouseMove.go b/eventMouseMove.go index 991bd62..8f68219 100644 --- a/eventMouseMove.go +++ b/eventMouseMove.go @@ -92,10 +92,14 @@ func mouseMove(g *gocui.Gui) { func (tk *guiWidget) moveNew(g *gocui.Gui) { w, h := g.MousePosition() if tk.node.WidgetType == widget.Window { - w1, h1 := tk.Size() - g.SetView(tk.cuiName, w, h, w+w1, h+h1, 0) - tk.verifyRect() - s := fmt.Sprintf("move(%dx%d) %s ###", w, h, tk.cuiName) + /* + w1, h1 := tk.Size() + g.SetView(tk.cuiName, w, h, w+w1, h+h1, 0) + tk.verifyRect() + s := fmt.Sprintf("move(%dx%d) %s WIN", w, h, tk.cuiName) + */ + tk.redrawWindow(w, h) + s := fmt.Sprintf("move(%dx%d) %s WIN", w, h, tk.cuiName) tk.dumpWidget(s) return } -- cgit v1.2.3