General fixes of stuff.
This commit is contained in:
parent
1b49166cdc
commit
936712b609
@ -1,7 +1,7 @@
|
|||||||
function ps()
|
function ps()
|
||||||
for k,v in pairs(tT) do
|
for k,v in pairs(tT) do
|
||||||
write("pid: "..tostring(k)..", process name: "..tostring(v[1])..", env={")
|
write("pid: "..tostring(k)..", process name: "..tostring(v[1])..", env={")
|
||||||
for l,w in ipairs(v[3]) do write(tostring(l).." = "..tostring(w)..", ") end
|
for l,w in pairs(v[3]) do write(tostring(l).." = "..tostring(w)..", ") end
|
||||||
print("}")
|
print("}")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -10,7 +10,7 @@ function tty(gA,sA,sI,fg,bg)
|
|||||||
if cx > sx then cx,cy=1,cy+1 end
|
if cx > sx then cx,cy=1,cy+1 end
|
||||||
if cx < 1 then cx,cy=1,cy-1 end
|
if cx < 1 then cx,cy=1,cy-1 end
|
||||||
if cy < 1 then cx,cy=1,1 end
|
if cy < 1 then cx,cy=1,1 end
|
||||||
if cy > sy then gP.copy(1,2,sx,sy-1,1,1) gP.fill(1,sx,sy,1," ") cx,cy=1,sy end
|
if cy > sy then gP.copy(1,2,sx,sy-1,0,-1) gP.fill(1,sy,sx,1," ") cx,cy=1,sy end
|
||||||
end
|
end
|
||||||
local function wl(str)
|
local function wl(str)
|
||||||
for c in str:gmatch(".") do
|
for c in str:gmatch(".") do
|
||||||
|
Loading…
Reference in New Issue
Block a user