Resize tabbar properly

Ref #1467
This commit is contained in:
Zachary Yedidia
2020-01-26 00:44:34 -05:00
parent 3252324d24
commit 866b3c9238
2 changed files with 5 additions and 0 deletions

View File

@@ -25,6 +25,10 @@ func NewTabWindow(w int, y int) *TabWindow {
return tw
}
func (w *TabWindow) Resize(width, height int) {
w.width = width
}
func (w *TabWindow) LocFromVisual(vloc buffer.Loc) int {
x := -w.hscroll