-
This commit is contained in:
@@ -27,10 +27,10 @@ while true do
|
|||||||
window.navigator.clipboard
|
window.navigator.clipboard
|
||||||
.readText()
|
.readText()
|
||||||
.then((text) => _$_(text))
|
.then((text) => _$_(text))
|
||||||
.catch();
|
.catch((e)=>{});
|
||||||
]],
|
]],
|
||||||
function(data)
|
function(data)
|
||||||
while getCHN:getCount()>0 do getCHN:pop() end
|
while getCHN:getCount()>0 do print('getCHN count:', getCHN:getCount()); getCHN:pop() end
|
||||||
print('Clipboard:', data)
|
print('Clipboard:', data)
|
||||||
getCHN:push(data)
|
getCHN:push(data)
|
||||||
end,
|
end,
|
||||||
@@ -39,5 +39,6 @@ while true do
|
|||||||
'getClipboardText'
|
'getClipboardText'
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
JS.retrieveData(.0626)
|
||||||
love.timer.sleep(.0626)
|
love.timer.sleep(.0626)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user