changed some display-related stuff with kbd and tty

This commit is contained in:
Izaya 2017-06-19 18:33:29 +00:00
parent 41031d5ad2
commit 97bb86e2cd
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
function kbd(kA,sI)
s("kbd: "..kA:sub(1,8)..","..tostring(sI),function()
s("kbd["..TS(sI).."]: "..kA:sub(1,8),function()
while true do
if ev[1] == "key_down" and ev[2] == kA then
h("key",sI,ev[3],ev[4])

View File

@ -23,7 +23,7 @@ function tty(gA,sA,sI,fg,bg)
end cv()
end
end
s("tty: "..gA:sub(1,8)..","..sA:sub(1,8),function()
s("tty["..TS(sI).."]: "..gA:sub(1,8)..","..sA:sub(1,8),function()
while true do
eT = ev
if eT[1] == "display" and eT[3] == sI then