Multishell API
  | 
  |||||||||||
| Returns the ID of the current Tab. | |||||||||||
| Syntax | multishell.getCurrent() | ||||||||||
| Returns | number ID | ||||||||||
| Part of | CC:Tweaked (source) | ||||||||||
| API | multishell | ||||||||||
  | |||||||||||
  | 
  |||||||||||
| Get the number of Multishell Tabs | |||||||||||
| Syntax | multishell.getCount() | ||||||||||
| Returns | number count | ||||||||||
| Part of | CC:Tweaked (source) | ||||||||||
| API | multishell | ||||||||||
  | |||||||||||
  | 
  |||||||||||
| Returns the id of the focused tab. | |||||||||||
| Syntax | multishell.getFocus() | ||||||||||
| Returns | number id | ||||||||||
| Part of | CC:Tweaked (source) | ||||||||||
| API | multishell | ||||||||||
  | |||||||||||
  | 
  |||||||||||
| Returns the title of a multishell tab. I the tab doesn't exists, it will return nil. | |||||||||||
| Syntax | multishell.getTitle(
  | 
  ||||||||||
| Returns | string title | ||||||||||
| Part of | CC:Tweaked (source) | ||||||||||
| API | multishell | ||||||||||
  | |||||||||||
  | 
  |||||||||
| Run a Program in a new multishell tab. | |||||||||
| Syntax | multishell.launch(
  | 
  ||||||||
| Returns | number tabid | ||||||||
| Part of | CC:Tweaked (source) | ||||||||
| API | multishell | ||||||||
  | |||||||||
  | 
  |||||||||
| Switch the focus to another multishell tab. | |||||||||
| Syntax | multishell.setFocus(
  | 
  ||||||||
| Returns | boolean success | ||||||||
| Part of | CC:Tweaked (source) | ||||||||
| API | multishell | ||||||||
  | |||||||||
  | 
  |||||||||
| Set the title of a multishell tab. | |||||||||
| Syntax | multishell.setTitle(
  | 
  ||||||||
| Returns | nil | ||||||||
| Part of | CC:Tweaked (source) | ||||||||
| API | multishell | ||||||||
  | |||||||||
    This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.