summaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-09-22 13:44:48 +1000
committerJesse Duffield <jessedduffield@gmail.com>2018-09-22 13:49:58 +1000
commit619c28ce56c50b6472d75158211f4bc6141b1bfd (patch)
tree111739990c1072ef143e40e05d607ff573aa9c10 /vendor
parent3101c505821bf225151d0069f2f617382f5bc83b (diff)
use lineheight rather than buffer length
Diffstat (limited to 'vendor')
-rw-r--r--vendor/github.com/jesseduffield/gocui/view.go4
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