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 /vendor/github.com | |
parent | e50bd812fc4cfaf7dca262863e3739771c178744 (diff) |
bump gocui to prevent truncating the contents of wrapped views
Diffstat (limited to 'vendor/github.com')
-rw-r--r-- | vendor/github.com/jesseduffield/gocui/view.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } } |