Add infobar option to disable the message line

Fixes #257
This commit is contained in:
Zachary Yedidia
2016-08-31 11:16:22 -04:00
parent 3105205ab8
commit b70db77c29
7 changed files with 31 additions and 8 deletions

View File

@@ -146,9 +146,7 @@ func (s *SplitTree) ResizeSplits() {
n.view.y = s.y + n.view.height*i
n.view.x = s.x
}
// n.view.ToggleStatusLine()
_, screenH := screen.Size()
if n.view.Buf.Settings["statusline"].(bool) || (n.view.y+n.view.height) != screenH-1 {
if n.view.Buf.Settings["statusline"].(bool) {
n.view.height--
}