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

Button and Terminal

Started by Primus, 28 February 2016 - 06:06 AM
Primus #1
Posted 28 February 2016 - 07:06 AM
I'm looking to add a home button similar to something in O OS. Basically run a button alongside the standard terminal. I've not been able to get them to run in tangent as .pullEvent() stops all activity on the computer until an event is recognized. Is there a simple way to do this? Apologies if this is a dumb question, new to ComputerCraft and the API's are taking some getting used to.
COOLGAMETUBE #2
Posted 28 March 2016 - 06:25 PM
i know there is something like parallel API

Take a look on it.
KingofGamesYami #3
Posted 28 March 2016 - 10:45 PM
Either you want multishell, or the aformentioned parallel API.

If you're making anything similar to an OS, you might want to read up on multitasking.