multishell.getTitle

From ComputerCraft
Jump to navigation Jump to search

multishell.getTitle
Function
Syntax
multishell.getTitle()
Returns string title
API multishell
Source CC:Tweaked (source)

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

ExampleExampleGet the title of tab 1.
Get the title of tab 1 and print it.
Code
print(multishell.getTitle(1))
Output
shell