made vt52 support actually setting the session ID

This commit is contained in:
Izaya 2017-09-26 13:56:15 +10:00 committed by Izaya
parent 76837876d6
commit 67363dcf92

View File

@ -65,6 +65,7 @@ function tty(gA,sA,sI,fg,bg)
end
end
spawn("tty["..tostring(sI).."]: "..gA:sub(1,8)..","..sA:sub(1,8),function() log(pcall(function()
os.setenv("sI",sI)
while true do
local csi = os.getenv("sI")
log(csi)