multishell.getCurrent

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

Returns the ID of the current Tab.

ExampleGet the current Tab ID.
Get the current Tab ID and print it.
Code
<nowiki>
print(multishell.getCurrent())
    </nowiki>
Output
1
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.