shell.switchTab

This function only exists if multishell is enabled.

ExampleSwitch the tab.
Switch to tab 1.
Code
<nowiki>
shell.switchTab(1)
    </nowiki>

shell.switchTab
Function
Syntax
shell.switchTab(
  • tabid : number
)

Returns nil
API shell
Source CC:Tweaked (source)

Switch to another multishell tab.

This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.