Files
Halyde/halyde/core/shell.lua
T
Ponali 6f1508d1bf v0.3.1 - Fixed the infamous bug
TheWahlolly didn't know that arrays were stored in pointers when set into another variable, affecting the original array. I also made some changes into the code for ocelot logs so signals are much clearer to investigate (I hope).
2025-04-08 19:55:23 +02:00

12 lines
313 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 = {event.pull("key_down")}
--ocelot.log(tostring(args[1]))
end