Fix mouse mode

This commit is contained in:
Roi Martin 2016-10-11 08:34:27 +02:00
parent 76554e4f84
commit 10d2bb60ea
1 changed files with 1 additions and 1 deletions

2
gui.go
View File

@ -621,7 +621,7 @@ func (g *Gui) onKey(ev *termbox.Event) error {
if err := v.SetCursor(mx-v.x0-1, my-v.y0-1); err != nil {
return err
}
if err := g.execKeybindings(g.currentView, ev); err != nil {
if err := g.execKeybindings(v, ev); err != nil {
return err
}
default: