From ad7596efee31b907f6426d346112fc68a24d5561 Mon Sep 17 00:00:00 2001 From: WahPlus Date: Thu, 30 Oct 2025 14:24:09 +0200 Subject: [PATCH] Removed unused get() function in halyde/kernel/modules/terminal.lua terminal.read() --- halyde/kernel/modules/terminal.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/halyde/kernel/modules/terminal.lua b/halyde/kernel/modules/terminal.lua index b7691a9..204883c 100644 --- a/halyde/kernel/modules/terminal.lua +++ b/halyde/kernel/modules/terminal.lua @@ -290,10 +290,6 @@ function module.init() local startX, startY = cursorPosX, cursorPosY local fg, bg = gpu.getForeground(), gpu.getBackground() local cursorBlink = true - local function get(idx) -- FIXME: Why is this here if it's unused? - idx=startX+idx-1 - return gpu.get(idx%width,startY+(idx//width)) - end local function checkScroll(y) for i=1,y-height do scrollDown()