镜像自地址
https://git.shadowkat.net/izaya/OC-PsychOS2.git
已同步 2024-09-27 14:45:18 -04:00
added a clipboard daemon, changed default services
这个提交包含在:
父节点
fbef63f9b0
当前提交
2c9bb81fe9
@ -1,2 +1,3 @@
|
||||
minitel.lua
|
||||
tape-iofs.lua
|
||||
fsmanager.service
|
||||
|
11
service/clipboard.lua
普通文件
11
service/clipboard.lua
普通文件
@ -0,0 +1,11 @@
|
||||
local lc = computer.uptime()
|
||||
_G.clip = ""
|
||||
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
|
正在加载...
在新工单中引用
屏蔽一个用户