This website works better with JavaScript.
首頁
探索
lain.church
說明
註冊
登入
izaya
/
OC-PsychOS2
镜像来自
https://git.shadowkat.net/izaya/OC-PsychOS2.git
關註
1
收藏
1
複製
0
程式碼
問題管理
0
版本發佈
0
Wiki
Activity
瀏覽代碼
added a clipboard daemon, changed default services
pull/1/head
XeonSquared
4 年之前
父節點
fbef63f9b0
當前提交
2c9bb81fe9
共有
2 個文件被更改
,包括
12 次插入
和
0 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
default-init.txt
+11
-0
service/clipboard.lua
+ 1
- 0
default-init.txt
查看文件
@@ -1,2 +1,3 @@
minitel.lua
tape-iofs.lua
fsmanager.service
+ 11
- 0
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
Write
Preview
Loading…
取消
儲存