diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-09-22 13:44:48 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-09-22 13:49:58 +1000 |
commit | 619c28ce56c50b6472d75158211f4bc6141b1bfd (patch) | |
tree | 111739990c1072ef143e40e05d607ff573aa9c10 /vendor/github.com | |
parent | 3101c505821bf225151d0069f2f617382f5bc83b (diff) |
use lineheight rather than buffer length
Diffstat (limited to 'vendor/github.com')
-rw-r--r-- | vendor/github.com/jesseduffield/gocui/view.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/jesseduffield/gocui/view.go b/vendor/github.com/jesseduffield/gocui/view.go index 46b86ec2a..939d1bdfa 100644 --- a/vendor/github.com/jesseduffield/gocui/view.go +++ b/vendor/github.com/jesseduffield/gocui/view.go @@ -447,8 +447,8 @@ func (v *View) ViewBufferLines() []string { return lines } -func (v *View) ViewLinesHeight() int { - return len(v.viewLines) +func (v *View) LinesHeight() int { + return len(v.lines) } // ViewBuffer returns a string with the contents of the view's buffer that is |