diff options
| author | Jeff Carr <[email protected]> | 2025-02-06 22:17:05 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-06 22:17:05 -0600 |
| commit | 16886945edc879548719c10ad9a9a79de83cd75e (patch) | |
| tree | 958f5fea7d62da172406bd7d15583fb4fc206a35 /eventBindings.go | |
| parent | 3d104d5b4a61ca4d32956c771f8882a215574515 (diff) | |
init was the problem for window placement
Diffstat (limited to 'eventBindings.go')
| -rw-r--r-- | eventBindings.go | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/eventBindings.go b/eventBindings.go index d51e061..98e0b1a 100644 --- a/eventBindings.go +++ b/eventBindings.go @@ -141,10 +141,11 @@ func tabCycleWindows(g *gocui.Gui, v *gocui.View) error { return nil } tk.makeWindowActive() - w, h := g.MousePosition() - me.downW = w - me.downH = h - tk.doWindowClick() + // w, h := g.MousePosition() + // me.downW = tk.gocuiSize.w0 + // me.downH = tk.gocuiSize.h0 + tk.redrawWindow(tk.gocuiSize.w0, tk.gocuiSize.h0) + setThingsOnTop() // sets help, Stdout, etc on the top after windows have been redrawn return nil } |
