Difference between revisions of "Multishell.setTitle"
From ComputerCraft Wiki
MKlegoman357 (Talk | contribs) (Created the page) |
Magiczocker (Talk | contribs) m |
||
| Line 14: | Line 14: | ||
}} | }} | ||
}} | }} | ||
| + | [[Category:API Functions]] | ||
Latest revision as of 07:59, 4 August 2020
| Changes the title of a tab with ID tabID to title. | |
| Syntax | multishell.setTitle(number tabID, string title) |
| Returns | nil |
| Part of | ComputerCraft |
| API | multishell |
Examples
| Changes the title of currently active program to "My Program". | |
| Code |
local currentTabID = multishell.getCurrent() multishell.setTitle(currentTabID, "My Program") |