OC-PsychOS/modules/setup.lua

13 lines
317 B
Lua
Raw Normal View History

2017-09-07 22:09:48 +10:00
_G.DEFAC = 1
if component.list("gpu")() and component.list("screen")() and component.list("keyboard")() and tty and kbd then
tty(component.list("gpu")(),component.list("screen")())
log(pcall(function()
local ka = component.list("keyboard")()
kbd(ka)
end))
luash()
elseif nshd then
nshd(23)
end
2017-07-31 09:26:58 +10:00
computer.beep()