Il sito funziona meglio con JavaScript.
Home
Esplora
lain.church
Aiuto
Registrati
Accedi
izaya
/
OC-PsychOS2
mirror da
https://git.shadowkat.net/izaya/OC-PsychOS2.git
Segui
1
Vota
1
Forka
0
Codice
Problemi
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
added a clipboard daemon, changed default services
pull/1/head
XeonSquared
4 anni fa
parent
fbef63f9b0
commit
2c9bb81fe9
2 ha cambiato i file
con
12 aggiunte
e
0 eliminazioni
Visualizzazione separata
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
Vedi File
@@ -1,2 +1,3 @@
minitel.lua
tape-iofs.lua
fsmanager.service
+ 11
- 0
service/clipboard.lua
Vedi File
@@ -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…
Annulla
Salva