shell.openTab

From ComputerCraft
Jump to navigation Jump to search

shell.openTab
Function
Syntax
shell.openTab()
Returns number tabid
API shell
Source CC:Tweaked (source)

Run a program in a new multishell tab in the shell enviroment.

This function only exits if multishell is enabled.

ExampleExampleRun a Program in a new tab.
Run "lua" in a new tab.
Code
shell.openTab("lua")