From 69e45f9a4fa3a9e05d1657040285a0b660b56f50 Mon Sep 17 00:00:00 2001 From: Zachary Yedidia Date: Wed, 12 Oct 2016 22:03:16 -0400 Subject: [PATCH] Fix problem causing hsplits not to display --- cmd/micro/view.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/micro/view.go b/cmd/micro/view.go index 63f752c7..a7627354 100644 --- a/cmd/micro/view.go +++ b/cmd/micro/view.go @@ -621,7 +621,7 @@ func (v *View) DisplayView() { // This is the current line number of the buffer that we are drawing curLineN = viewLine + v.Topline - if screenY >= v.height { + if screenY-v.y >= v.height { break }