made l() work

This commit is contained in:
Izaya 2017-04-20 00:02:12 +10:00
parent e2da9b40db
commit 1866c87e90
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ Simply run `build.lua`. Under OpenOS or plan9k that may just be going to the rig
Spawns a process from `function` under the name `name`, with the environment table specified in `environment`. Environment doesn't really have much use right now.
#### `l() `
Returns the last event. Doesn't actually work right now.
Returns the last event.
#### `h(...)`
Pushes an event to the queue, with whatever data you specify. Generally used for IPC.

View File

@ -3,7 +3,7 @@ function s(n,f,e)
T.insert(tT,{n,C.create(f),(e or {})})
end
function l()
-- return T.remove(tT[cT][3],1)
return eV
end
function h(...)
computer.pushSignal(...)