diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2019-01-15 19:49:34 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2019-01-15 19:56:32 +1100 |
commit | c759c7ac6537eb2ed8f65b566d898a2f2048f9d5 (patch) | |
tree | 2e59248cba35270a74228a8842fd51cb51af5bd7 | |
parent | e50bd812fc4cfaf7dca262863e3739771c178744 (diff) |
bump gocui to prevent truncating the contents of wrapped views
-rw-r--r-- | Gopkg.lock | 4 | ||||
-rw-r--r-- | go.mod | 2 | ||||
-rw-r--r-- | vendor/github.com/jesseduffield/gocui/view.go | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Gopkg.lock b/Gopkg.lock index ca28d48ca..432138f18 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -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" @@ -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 diff --git a/vendor/github.com/jesseduffield/gocui/view.go b/vendor/github.com/jesseduffield/gocui/view.go index 6b80b9050..73df1dbcf 100644 --- a/vendor/github.com/jesseduffield/gocui/view.go +++ b/vendor/github.com/jesseduffield/gocui/view.go @@ -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 } } |