tidying up

This commit is contained in:
Izaya 2017-05-16 02:40:36 +10:00
parent 936712b609
commit 8698abf08a
2 changed files with 2 additions and 2 deletions

View File

@ -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])

View File

@ -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