Compare commits
No commits in common. "7dda36fd1dbc108f5e0e080d200b2034ee2662a8" and "124b39c96de13b1f8b0caa801c3d657660eaa0ca" have entirely different histories.
7dda36fd1d
...
124b39c96d
@ -1,5 +0,0 @@
|
||||
root = true
|
||||
|
||||
[*.lua]
|
||||
indent_style = space
|
||||
indent_size = 1
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,4 @@
|
||||
*.cpio
|
||||
*.af
|
||||
apidoc.md
|
||||
/target
|
||||
/doc
|
||||
|
@ -1,17 +1,11 @@
|
||||
local lc = computer.uptime()
|
||||
_G.clip = ""
|
||||
|
||||
function start()
|
||||
return os.spawn(function()
|
||||
local lc
|
||||
while true do
|
||||
local eT = {coroutine.yield()}
|
||||
if eT[1] == "clipboard" then
|
||||
if computer.uptime() > lc + 5 then
|
||||
_G.clip = ""
|
||||
end
|
||||
lc = computer.uptime()
|
||||
_G.clip = _G.clip .. eT[3]
|
||||
end
|
||||
end
|
||||
end)
|
||||
while true do
|
||||
local eT = {coroutine.yield()}
|
||||
if eT[1] == "clipboard" then
|
||||
if computer.uptime() > lc + 5 then
|
||||
_G.clip = ""
|
||||
end
|
||||
_G.clip = _G.clip .. eT[3]
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user