This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
MarioBG's profile picture

Hiding the multishell tab bar

Started by MarioBG, 07 June 2015 - 07:30 PM
MarioBG #1
Posted 07 June 2015 - 09:30 PM
Hello, forums!
I've been forced to stop coding for a while, and will still have it hard to get on to anything serious for two more weeks, but this evening I decided to at least start the multitasking module of my OS. Up to this moment, it had been oriented to be compatible with Minecraft 1.4.7's CC, but since I use it now in other worlds besides the one that saw its birth, I thought why not, and decided to look into the multishell API.

The problem is I'd like to dismiss the tab bar and show the programs elsewhere, namely the lower Windows-style bar, and have it blend in better. How could I do this? If someone comes up with a better solution than multishell, I'm obviously open to that as well. Thanks for the help!
Geforce Fan #2
Posted 08 June 2015 - 10:52 PM
To be honest, you can't.
You really shouldn't be using mulitshell for mulitasking. Instead, you should be doing this yourself.
Here are some pages that will help. What you want to do is create a new buffer for each program, and switch to that buffer before resuming the coroutine process.
Edited on 08 June 2015 - 08:56 PM
Bomb Bloke #3
Posted 09 June 2015 - 01:10 AM
To be honest, you can't.

Well, you can. One way is to overwrite multishell with a custom version via a resourcepack. Another is to perform a TLCO, and then boot a custom version.

But yeah, if you want to make your own OS, you'll certainly want to embed your multitasking into it. You'll have a lot more flexibility in the long run.