From 53567dd5c94153cd0090dd1a63fff74933673638 Mon Sep 17 00:00:00 2001 From: neru Date: Tue, 6 May 2025 20:13:19 -0300 Subject: [PATCH] fix: wrong variable usage --- 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 ebfe6e2..cd1ce1a 100644 --- a/lua/CC Tweaked/tutel/tutel-host.lua +++ b/lua/CC Tweaked/tutel/tutel-host.lua @@ -245,7 +245,7 @@ function updateScreen() local entry = log.buffer[i] local format = logTypes[entry.type] - term.setCursorPos(0, endY - i) + term.setCursorPos(0, endY - drawnLines) local prevColourBg = term.getBackgroundColour() local prevColourFg = term.getTextColour()