Add split_tree and ability to create splits

This commit is contained in:
Zachary Yedidia
2016-08-11 10:45:35 -04:00
parent 2cbd9428aa
commit cbbe312762
7 changed files with 202 additions and 51 deletions

View File

@@ -247,11 +247,11 @@ func main() {
tab := NewTabFromView(NewView(buf))
tab.SetNum(len(tabs))
tabs = append(tabs, tab)
for _, t := range tabs {
for _, v := range t.views {
v.Resize(screen.Size())
}
}
// for _, t := range tabs {
// for _, v := range t.views {
// v.Resize(screen.Size())
// }
// }
}
// Load all the plugin stuff