Spoiler
So if you try run 2 programs with parallel, and both are using mouse events things will get messy. But if u run them with multishell everything should work almost ok, but if they use some custom events you will still have mess.After digging through the code ive found in bios.lua (lines 555-570) piece of code that's responsible for my suffering.
-- Run the shell
local ok, err = pcall( function()
parallel.waitForAny(
function()
if term.isColour() then
os.run( {}, "rom/programs/advanced/multishell" )
else
os.run( {}, "rom/programs/shell" )
end
os.run( {}, "rom/programs/shutdown" )
end,
function()
rednet.run()
end )
end )
And the main question: how to override it? I dont want to call 'multishell' from "rom/programs/advanced/" but my own version. Is it possible to shut everything down, and then start my own environment?












