diff options
Diffstat (limited to 'vendor')
-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 } } |