changed some display-related stuff with kbd and tty
This commit is contained in:
parent
41031d5ad2
commit
97bb86e2cd
@ -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])
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user