12 lines
304 B
Lua
12 lines
304 B
Lua
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
|
|
computer.beep()
|