Files
aceVM/AceVM/components/screen.lua
2025-09-30 12:20:47 -04:00

21 lines
345 B
Lua

local screen = {}
function screen.printInline(...)
term.write(table.concat({...}, " "))
end
function screen.print(...)
print(...)
end
function screen.clear()
term.setCursorPos(1,1)
term.clear()
end
screen.id = "screen_1"
screen.__UDATA_ID = 1
function aceVM.components.screen(id)
aceVM.newComponent("screen", screen)
end