shell.openTab
Run a program in a new multishell tab in the shell enviroment.
| shell.openTab Function  | |
|---|---|
| 
Syntax shell.openTab( 
  | |
| Returns | number tabid | 
| API | shell | 
| Source | CC:Tweaked (source) | 
This function only exits if multishell is enabled.
  | 
  |||
| Run "lua" in a new tab. | |||
| Code | <nowiki>
shell.openTab("lua")
    </nowiki>
 | 
    ||
Functions  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Lua | 
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CC:Tweaked | 
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
    This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.