mirror of
https://git.shadowkat.net/izaya/OC-PsychOS2.git
synced 2024-11-22 20:10:34 -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")
|
print(_OSVERSION,tostring(computer.totalMemory()/1024).."K memory")
|
||||||
for k,v in pairs(fd) do
|
for k,v in pairs(fd) do
|
||||||
if v.t == "t" then
|
if v.t == "t" then
|
||||||
tTasks[cPid].t = k
|
os.setenv("t") = k
|
||||||
print("Spawning Lua prompt for "..tostring(k))
|
print("Spawning Lua prompt for "..tostring(k))
|
||||||
|
os.setenv("PWD","/boot")
|
||||||
os.spawn(function() print(pcall(function() while true do
|
os.spawn(function() print(pcall(function() while true do
|
||||||
io.write(_VERSION.."> ")
|
io.write(_VERSION.."> ")
|
||||||
tResult = {pcall(load(io.read()))}
|
tResult = {pcall(load(io.read()))}
|
||||||
|
Loading…
Reference in New Issue
Block a user