mirror of
https://git.shadowkat.net/izaya/OC-PsychOS2.git
synced 2024-11-25 20:48:43 -05:00
made spawnprompt set the terminal correctly
This commit is contained in:
parent
8b35bfe3a6
commit
863f343646
@ -2,8 +2,9 @@ os.spawn(function()
|
||||
print(_OSVERSION,tostring(computer.totalMemory()/1024).."K memory")
|
||||
for k,v in pairs(fd) do
|
||||
if v.t == "t" then
|
||||
tTasks[cPid].t = k
|
||||
os.setenv("t") = k
|
||||
print("Spawning Lua prompt for "..tostring(k))
|
||||
os.setenv("PWD","/boot")
|
||||
os.spawn(function() print(pcall(function() while true do
|
||||
io.write(_VERSION.."> ")
|
||||
tResult = {pcall(load(io.read()))}
|
||||
|
Loading…
Reference in New Issue
Block a user