Resize tabs more often

Fixes #343
This commit is contained in:
Zachary Yedidia 2016-09-08 17:30:41 -04:00
parent 301e86a46e
commit af47cce86b
2 changed files with 4 additions and 0 deletions

View file

@ -280,6 +280,8 @@ func main() {
v.matches = Match(v)
}
}
t.Resize()
}
}

View file

@ -37,6 +37,8 @@ func NewTabFromView(v *View) *Tab {
t.tree.height--
}
t.Resize()
return t
}