Don't forward tabbar mouse events to panes

Fixes #1435
This commit is contained in:
Zachary Yedidia
2019-12-26 17:02:02 -05:00
parent 1367084a18
commit 6ba66320f0

View File

@@ -106,6 +106,7 @@ func (t *TabList) HandleEvent(event tcell.Event) {
ind := t.LocFromVisual(buffer.Loc{mx, my})
if ind != -1 {
t.SetActive(ind)
return
}
case tcell.WheelUp:
if my == t.Y {