Skip to content

Commit

Permalink
fix(cellbuf): inverted move arguments in putRange
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Feb 4, 2025
1 parent fe292ba commit 4ae3b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cellbuf/screen.go
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ func (s *Screen) putRange(oldLine, newLine Line, y, start, end int) (eoi bool) {
} else {
if same > end-start {
s.emitRange(newLine[start:], j-same-start)
s.move(y, j)
s.move(j, y)
start = j
}
same = 0
Expand Down

0 comments on commit 4ae3b68

Please sign in to comment.