summaryrefslogtreecommitdiff
path: root/eventBindings.go
diff options
context:
space:
mode:
Diffstat (limited to 'eventBindings.go')
-rw-r--r--eventBindings.go9
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
}