OC-PsychOS/modules/setup.lua

10 lines
260 B
Lua

if component.list("gpu")() and component.list("screen")() and component.list("keyboard")() then
tty(component.list("gpu")(),component.list("screen")())
log(pcall(function()
local ka = component.list("keyboard")()
kbd(ka)
end))
end
luash()
computer.beep()