tidying up
This commit is contained in:
parent
936712b609
commit
8698abf08a
@ -1,5 +1,5 @@
|
||||
function kbd(kA,sI)
|
||||
s("kbd: "..kA..","..tostring(si),function()
|
||||
s("kbd: "..kA:sub(1,8)..","..tostring(si),function()
|
||||
while true do
|
||||
if ev[1] == "key_down" and ev[2] == kA then
|
||||
h("key",sI,ev[3],ev[4])
|
||||
|
@ -22,7 +22,7 @@ function tty(gA,sA,sI,fg,bg)
|
||||
end cv()
|
||||
end
|
||||
end
|
||||
s("display: "..gA..","..sA,function()
|
||||
s("tty: "..gA:sub(1,8)..","..sA:sub(1,8),function()
|
||||
while true do
|
||||
eT = ev
|
||||
if eT[1] == "display" and eT[3] == sI then
|
||||
|
Loading…
Reference in New Issue
Block a user