1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-04-25 12:24:47 +02:00

bump gocui to prevent truncating the contents of wrapped views

This commit is contained in:
Jesse Duffield 2019-01-15 19:49:34 +11:00
parent e50bd812fc
commit c759c7ac65
3 changed files with 4 additions and 4 deletions

4
Gopkg.lock generated
View File

@ -189,11 +189,11 @@
[[projects]]
branch = "master"
digest = "1:68858ed02f6da4576787f8198290466438b76d287537c7654b56dc10409c0b71"
digest = "1:9b266d7748a5d94985fd9e323494f5b8ae1ab3e910418e898dfe7f03339ddbcd"
name = "github.com/jesseduffield/gocui"
packages = ["."]
pruneopts = "NUT"
revision = "fe55a32c8a4c7cf94b04a6507eae7ece48c2f975"
revision = "cfa9e452ba5ebf014041846851152d64a59dce14"
[[projects]]
branch = "master"

2
go.mod
View File

@ -18,7 +18,7 @@ require (
github.com/heroku/rollrus v0.0.0-20180515183152-fc0cef2ff331
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99
github.com/jesseduffield/go-getter v0.0.0-20180822080847-906e15686e63
github.com/jesseduffield/gocui v0.0.0-20181209104758-fe55a32c8a4c
github.com/jesseduffield/gocui v0.0.0-20190115084758-cfa9e452ba5e
github.com/jesseduffield/pty v0.0.0-20181218102224-02db52c7e406
github.com/jesseduffield/termbox-go v0.0.0-20180919093808-1e272ff78dcb
github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8

View File

@ -539,7 +539,7 @@ func lineWrap(line []cell, columns int) [][]cell {
n += rw
if n > columns {
n = rw
lines = append(lines, line[offset:i-1])
lines = append(lines, line[offset:i])
offset = i
}
}