multishell.getTitle

Returns the title of a multishell tab. I the tab doesn't exists, it will return nil.

ExampleGet the title of tab 1.
Get the title of tab 1 and print it.
Code
<nowiki>
print(multishell.getTitle(1))
    </nowiki>
Output
shell

multishell.getTitle
Function
Syntax
multishell.getTitle(
  • tabid : number
)

Returns string title
API multishell
Source CC:Tweaked (source)
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.