Skip to content

Commit

Permalink
Fix an issue with drawing long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
xyproto committed Sep 2, 2024
1 parent 09d9e65 commit 087a65d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions v2/highlight.go
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,12 @@ func (e *Editor) WriteLines(c *vt100.Canvas, fromline, toline LineIndex, cx, cy
}
}

matchForAnotherN = 0
skipX = e.pos.offsetX
untilNextJumpLetter = 0
letter = rune(0)
tx, ty = uint(0), uint(0)

for runeIndex, ra = range runesAndAttributes {
if skipX > 0 {
skipX--
Expand Down

0 comments on commit 087a65d

Please sign in to comment.