multishell.getCurrent

From ComputerCraft
Jump to: navigation, search

multishell.getCurrent
Function
Syntax
multishell.getCurrent()
Returns number ID
API multishell
Source CC:Tweaked (source)

Returns the ID of the current Tab.

ExampleExampleGet the current Tab ID.
Get the current Tab ID and print it.
Code
print(multishell.getCurrent())
Output
1