Fix statusline and tabbar offsets

This commit is contained in:
Zachary Yedidia
2016-08-11 13:50:59 -04:00
parent bd55c5f834
commit 61536326ca
6 changed files with 53 additions and 17 deletions

View File

@@ -126,13 +126,13 @@ func NewTab(args []string) {
tab.SetNum(len(tabs))
tabs = append(tabs, tab)
curTab++
// if len(tabs) == 2 {
// for _, t := range tabs {
// for _, v := range t.views {
// v.Resize(screen.Size())
// }
// }
// }
if len(tabs) == 2 {
for _, t := range tabs {
for _, v := range t.views {
v.ToggleTabbar()
}
}
}
}
}