From ac1cb7baa7a312209c0b42957e366b4c4462087b Mon Sep 17 00:00:00 2001 From: itzmarkoni Date: Sat, 14 Jun 2025 13:58:10 -0400 Subject: [PATCH] updated --- coolant_driver.lua | 2 +- main.lua | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/coolant_driver.lua b/coolant_driver.lua index 448c33b..0f4fb35 100644 --- a/coolant_driver.lua +++ b/coolant_driver.lua @@ -2,7 +2,7 @@ local maxValue = 100 local minValue = 0 local function configureReport(monitor) - local x,y = term.getCursorPos() + local x,y = monitor.getCursorPos() monitor.setCursorPos(x, y + 1) monitor.clearLine() end diff --git a/main.lua b/main.lua index 428e7c7..a36857e 100644 --- a/main.lua +++ b/main.lua @@ -14,7 +14,6 @@ end local function runDisplay() monitor.clear() monitor.setTextScale(1) - monitor.setCursorPos(1,0) while true do local drivers = { { Label = "Temperature", driver = tempDriver },