Replace process.api with Event

This commit is contained in:
kepler155c@gmail.com
2017-07-28 19:01:59 -04:00
parent f8bcf90a6b
commit be51935662
21 changed files with 326 additions and 343 deletions

View File

@@ -30,7 +30,6 @@ end
local w, h = ct.getSize()
socket:write({
type = 'termInfo',
width = w,
height = h,
isColor = ct.isColor(),
@@ -70,7 +69,7 @@ while true do
if filter[event] then
if not socket:write({ type = 'shellRemote', event = e }) then
if not socket:write(e) then
socket:close()
break
end