no longer depends on E().sI
This commit is contained in:
parent
9ae5e54176
commit
2249062214
@ -1,4 +1,5 @@
|
||||
function nshc_w(evPP,nid)
|
||||
local sI = E().sI or 1
|
||||
while true do
|
||||
if ev[1] == "net_msg" then
|
||||
local V,msg=false,tostring(ev[4])
|
||||
@ -7,9 +8,9 @@ function nshc_w(evPP,nid)
|
||||
write(msg:sub(4))
|
||||
end
|
||||
end
|
||||
elseif ev[1] == "key" and ev[2] == E().sI and ev[3] == 29 and ev[4] == 27 then
|
||||
elseif ev[1] == "key" and ev[2] == sI and ev[3] == 29 and ev[4] == 27 then
|
||||
break
|
||||
elseif ev[1] == "key" and ev[2] == E().sI then
|
||||
elseif ev[1] == "key" and ev[2] == sI then
|
||||
ns(nid,evPP,"key"..tostring(ev[3]))
|
||||
end
|
||||
C.yield()
|
||||
|
Loading…
Reference in New Issue
Block a user