1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-07 22:02:56 +03:00

bump deps to use forked termbox which doesn't crash as easily

This commit is contained in:
Jesse Duffield
2018-09-19 19:54:58 +10:00
parent 4ea446205c
commit 0367399cf3
28 changed files with 34 additions and 65 deletions

View File

@@ -10,8 +10,8 @@ import (
"io"
"strings"
"github.com/jesseduffield/termbox-go"
"github.com/mattn/go-runewidth"
"github.com/nsf/termbox-go"
)
// Constants for overlapping edges
@@ -447,6 +447,10 @@ func (v *View) ViewBufferLines() []string {
return lines
}
func (v *View) ViewLinesHeight() int {
return len(v.viewLines)
}
// ViewBuffer returns a string with the contents of the view's buffer that is
// shown to the user.
func (v *View) ViewBuffer() string {