11 lines
322 B
Lua
11 lines
322 B
Lua
import("termlib")
|
|
local event = import("event")
|
|
|
|
--local ocelot = component.proxy(component.list("ocelot")())
|
|
|
|
print("\n │\n │ ".._OSVERSION..'\n │ Welcome! Type "help" to get started.\n │')
|
|
while true do
|
|
--coroutine.yield()
|
|
local args = table.pack(event.pull("key_down"))
|
|
--ocelot.log(tostring(args[1]))
|
|
end |