From 66373685a089bc2bca6d7432205990c427a37312 Mon Sep 17 00:00:00 2001 From: neru Date: Tue, 6 May 2025 20:11:15 -0300 Subject: [PATCH] fix: wrong range check --- lua/CC Tweaked/tutel/tutel-host.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/CC Tweaked/tutel/tutel-host.lua b/lua/CC Tweaked/tutel/tutel-host.lua index 90e1221..bb36c5d 100644 --- a/lua/CC Tweaked/tutel/tutel-host.lua +++ b/lua/CC Tweaked/tutel/tutel-host.lua @@ -239,7 +239,7 @@ function updateScreen() -- logs local function drawLogs(startY, endY) for i = #log.buffer, 1, -1 do - if i > endY then break end + if i > endY - startY then break end local entry = log.buffer[i] local format = logTypes[entry.type]