mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 12:55:47 +02:00
use lineheight rather than buffer length
This commit is contained in:
parent
3101c50582
commit
619c28ce56
4 changed files with 7 additions and 7 deletions
4
vendor/github.com/jesseduffield/gocui/view.go
generated
vendored
4
vendor/github.com/jesseduffield/gocui/view.go
generated
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue