diff options
| author | Jeff Carr <[email protected]> | 2025-02-09 03:00:10 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-09 03:00:10 -0600 |
| commit | 8d8fc22745e8e5497e3db0a3389c17c3030a230f (patch) | |
| tree | 15c30353e6651217f37ab8e890099c6890d76d7a /eventMouse.go | |
| parent | eba5ea8cc072e950df19ad5b97e3c99794ab790e (diff) | |
detect an attempt to close a window
Diffstat (limited to 'eventMouse.go')
| -rw-r--r-- | eventMouse.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eventMouse.go b/eventMouse.go index 1ff5588..35bdf61 100644 --- a/eventMouse.go +++ b/eventMouse.go @@ -61,7 +61,7 @@ func mouseDown(g *gocui.Gui, v *gocui.View) error { offH := win.gocuiSize.h1 - h s += fmt.Sprintf("corner(%d,%d)", offW, offH) if (offW < 3) && (offH < 3) { - // log.Info("mouse down resize on ", s) + log.Info("attempting resize on ", s, win.cuiName) me.mouse.resize = true // store the stdout corner for computing the drag size me.stdout.lastW = me.stdout.tk.gocuiSize.w0 |
