Skip to content

Commit

Permalink
red: colorizer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hugeping committed Oct 23, 2023
1 parent 7c088ea commit 696bf6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/lib/red/win.lua
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ function win:colorize()
start = colorizer.pos + 1
colorizer.txt = self.buf.text
end
if self.pos < start then
if self.pos <= start then
colorizer = nil
start = 1
end
Expand Down

0 comments on commit 696bf6a

Please sign in to comment.