diff options
| author | Jeff Carr <[email protected]> | 2025-02-04 10:04:45 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-04 10:04:45 -0600 |
| commit | acfb80a2e702a7472ccf547350c2a71568c8cf01 (patch) | |
| tree | b93e63994d8b8132cb18e7ffc40a034a1880d904 /eventMouseMove.go | |
| parent | a10582c84636ef378b91d98243043f099aff1a87 (diff) | |
kinda, sorta, but no. not yet
Diffstat (limited to 'eventMouseMove.go')
| -rw-r--r-- | eventMouseMove.go | 12 |
1 files changed, 8 insertions, 4 deletions
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 } |
