-
So,whenever I try to use here's a simple demonstration: local t=shell.openTab("lua")
shell.switchTab(t)
print("testing!")
paintutils.drawFilledBox(5,5,10,10,colors.gray)
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
When you switchTab you only change which tab of multishell is active/visible to user. You code will keep executing in tab you ran it. |
Beta Was this translation helpful? Give feedback.
When you switchTab you only change which tab of multishell is active/visible to user. You code will keep executing in tab you ran it.
There is currently no way to just have code jump between tabs like this. Best you can do is have 2 programs communicate over events for example.