Jump to content




Hiding the multishell tab bar

help lua

  • You cannot reply to this topic
2 replies to this topic

#1 MarioBG

  • Members
  • 43 posts
  • LocationSpain (or Hisperia)

Posted 07 June 2015 - 08: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!

#2 Geforce Fan

  • Members
  • 846 posts
  • LocationMissouri, United States, America, Earth, Solar System, Milky Way, Universe 42B, Life Street, Multiverse, 4th Dimension

Posted 08 June 2015 - 09: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 by Geforce Fan, 08 June 2015 - 09:56 PM.


#3 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 09 June 2015 - 12:10 AM

View PostGeforce Fan, on 08 June 2015 - 09:52 PM, said:

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.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users