From 696bf6ad20ef7b07c1eb462e986f440f2658e60b Mon Sep 17 00:00:00 2001 From: Peter Kosyh Date: Mon, 23 Oct 2023 17:49:07 +0300 Subject: [PATCH] red: colorizer fix --- data/lib/red/win.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/lib/red/win.lua b/data/lib/red/win.lua index 1b448c9..67df246 100644 --- a/data/lib/red/win.lua +++ b/data/lib/red/win.lua @@ -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