multishell.setFocus
From ComputerCraft Wiki
| Makes the specified tab to be on top of any other tab (makes it visible to the user). | |
| Syntax | multishell.setFocus(number tabID) |
| Returns | boolean did the tab focused? |
| Part of | ComputerCraft |
| API | multishell |
Examples
| Focuses the currently running program. | |
| Code |
local currentTabID = multishell.getCurrent() multishell.setFocus(currentTabID) |