Fix problem causing hsplits not to display

This commit is contained in:
Zachary Yedidia
2016-10-12 22:03:16 -04:00
parent ea1de18326
commit 69e45f9a4f

View File

@@ -621,7 +621,7 @@ func (v *View) DisplayView() {
// This is the current line number of the buffer that we are drawing // This is the current line number of the buffer that we are drawing
curLineN = viewLine + v.Topline curLineN = viewLine + v.Topline
if screenY >= v.height { if screenY-v.y >= v.height {
break break
} }