Removed unused get() function in halyde/kernel/modules/terminal.lua terminal.read()

This commit is contained in:
WahPlus
2025-10-30 14:24:09 +02:00
parent c4b6445c23
commit ad7596efee
-4
View File
@@ -290,10 +290,6 @@ function module.init()
local startX, startY = cursorPosX, cursorPosY local startX, startY = cursorPosX, cursorPosY
local fg, bg = gpu.getForeground(), gpu.getBackground() local fg, bg = gpu.getForeground(), gpu.getBackground()
local cursorBlink = true 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) local function checkScroll(y)
for i=1,y-height do for i=1,y-height do
scrollDown() scrollDown()