shell.switchTab

From ComputerCraft
Jump to: navigation, search

shell.switchTab
Function
Syntax
shell.switchTab()
Returns nil
API shell
Source CC:Tweaked (source)

Switch to another multishell tab.

This function only exists if multishell is enabled.

ExampleExampleSwitch the tab.
Switch to tab 1.
Code
shell.switchTab(1)